© The Author(s), under exclusive license to APress Media, LLC, part of Springer Nature 2023
V. GorCreating Responsive Websites Using HTML5 and CSS3https://doi.org/10.1007/978-1-4842-9783-4_3

3. Cascading Style Sheets and Layouts

Varun Gor1  
(1)
Bengaluru, India
 

This chapter covers CSS and layouts. This chapter will explain how to create and use floats in CSS3, as well as explaining the issues faced when working with floats and how to resolve them. Next, the chapter will cover box-sizing versus border-box, which one to use, and how to resolve issues if there are any during implementing them. Then, the chapter will explain how to implement a flexbox layout using CSS3, by providing HTML and CSS code and showing how the browser renders this code. It ...

Get Creating Responsive Websites Using HTML5 and CSS3: A Perfect Reference for Web Designers now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.