![]() |
Primer CSS is a free open-source CSS framework that is built upon systems that create the foundation of the basic style elements such as spacing, typography, and color. This systematic method makes sure our patterns are steady and interoperable with every other. Its approach to CSS is influenced by Object-Oriented CSS principles, functional CSS, and BEM architecture. It is highly reusable and flexible. It is created with GitHub’s design system. Breakpoints are based on screen widths where our content starts to break and breakpoints may change as we move more of the product into responsive layouts. The specific breakpoints can be utilized to implement the particular responsive style. It is mainly used to change the size of containers according to the screen size and different breakpoints. Abbreviations are used to keep the class names concise and the abbreviations are used consistently across responsive styles. The Components of Breakpoints:
Primer CSS Breakpoints Responsive Classes:
Syntax: <div class="container-lg clearfix"> <div class="col-sm-6 col-md-3 col-lg-2"> ... ... </div> </div> Example 1: In the below model, we have made a responsive web page in which while contracting the page entire component will change its situation to look great. HTML
Output: ![]()
Example 2: In the below model, we have made a responsive site page in what while contracting the page entire component will change its situation to look great. HTML
Output: ![]()
Reference: https://primer.style/css/support/breakpoints#breakpoint-variables |
Reffered: https://www.geeksforgeeks.org
CSS |
Related |
---|
![]() |
![]() |
![]() |
![]() |
![]() |
Type: | Geek |
Category: | Coding |
Sub Category: | Tutorial |
Uploaded by: | Admin |
Views: | 11 |