CSS (Cascading Style Sheets) is a language used to describe the visual appearance and formatting of HTML documents. It defines how elements are presented on web pages, including layout, color, typography, and more. It enhances the aesthetics and overall user experience of websites.
CSS Frameworks
CSS frameworks are pre-prepared collections of CSS stylesheets that help developers create visually appealing and responsive websites. These frameworks provide a set of standardized and reusable CSS components, layout systems, and pre-designed templates, making it easier to build attractive and consistent web pages.
One popular CSS framework that deserves special mention is Bulma. Why does it deserve especial attention? Because I like it. 😅
Known for its simplicity and flexibility, Bulma has gained significant traction among web developers. Here’s a closer look at why it has become a go-to choice for many.
Common Selectors
+
– Select 2nd only if immediately after 1st.>
– Select 2nd only if direct children of 1st.~
– Select 2nd if both sibling and after 1st.
Common Breakpoints
Based on Bootstrap: 320px, 576px, 768px, 992px, 1200px, 1400px, 1600px.
You can pick any breakpoint you want, it largely depends on what content your dealing with. Sometimes I swap 576px for 600px, just be consistent.
Mixins
All mobile-first-designs media queries and 1 desktop-first-design media query per given CSS class.