This repository delves into essential
CSS
layout techniques, focusing on thebox model
,flexbox
, and understanding the intricacies ofcontent-box
vs.border-box
. It is ideal for those looking to enhance their web development skills with a solid grasp of layout principles.
In this lesson, we explored:
- Box Model: Understanding how the box model affects the layout, including padding, margin, and border.
- Content-Box vs. Border-Box: Learning the differences between these two box-sizing models and how they influence element sizing.
- Flexbox Basics: An introduction to the flexbox layout model, which provides a flexible and efficient way to arrange items within a container.
To explore the content of this repository:
- Clone the Repository:
git clone https://github.com/OpenCodeChicago/HTML-CSS_fundamentals_part2.git
- Open the Project:
Open the
index.html
file in your browser to see the basic structure and styling in action. - Edit and Experiment: Modify the HTML and CSS files to see how changes affect the appearance and structure of the web page.
This repository follows the folder structure below:
index.html
: This is the main HTML file where the content and structure of the web page are defined.styles.css
: This external CSS file is used for styling the HTML elements.
As we continue to dive deeper into HTML
and CSS
, the next lesson will cover:
- Forms: Learning how to create user-friendly forms, including input types like text fields, checkboxes, radio buttons, and submit buttons.
- Form Accessibility: Best practices for making forms accessible to all users, including proper labeling and structuring.
- Styling Forms: Understanding how to use CSS to enhance the visual appearance and usability of form elements.
Stay tuned as we build on these foundational skills and move toward more advanced concepts in web development.
If you encounter any issues or have suggestions for improvements, please let us know by opening an issue on GitHub.
This repository is licensed under the MIT License. See the LICENSE file for more details.
Your feedback is valuable to us! If you have any thoughts on how we can improve, please submit feedback or contact us directly.
For any questions, suggestions, or further discussion, feel free to reach out to us: