Primer CSS is a free and open-source CSS framework that is built using the GitHub design system for providing support to the broad spectrum of GitHub websites. It helps in creating the foundation of the basic style elements such as spacing, components, typography, color, etc.
In this article, we’ll see about the Layout of Sidebar positioning as rows. We can position the sidebar as rows, i.e, either render it first, or last, or can hide it also.
Primer CSS Layout Sidebar positioning as rows Classes:
Layout–sidebarPosition-flowRow-start: This class renders the sidebar to the top of the main container when stacked. This is the default positioning of the sidebar as rows.
Layout–sidebarPosition-flowRow-end: This class renders the sidebar after the main container when stacked.
Layout–sidebarPosition-flowRow-none: This class hides the sidebar when stacked.
Please Login to comment...