![]() |
Foundation CSS is the frontend framework of CSS that is used to build responsive websites, apps, and emails that work perfectly on any device. It is written using HTML, CSS, and JavaScript and is used by many famous companies like Amazon, Facebook, eBay, etc. It uses packages like Grunt and Libsass for fast coding and controlling and Saas compiler to make development faster. In Foundation CSS, Flexbox classes are used to make the horizontal and vertical alignments super easy. Flexbox has Source ordering classes that order the columns according to the number specified in the order class. Foundation CSS Flexbox Utilities Source Ordering Classes:
Syntax: <div class="Source-Ordering-classes "> ... </div> Note: Here n can be 1,2,3,…. according to the number of columns and their ordering. Example 1: This example illustrates the use of Flexbox Utilities Source Ordering using grid-margin-x class. HTML
Output: ![]() Foundation CSS Flexbox Utilities Source Ordering Example 2: This example illustrates the use of Flexbox Utilities Source Ordering using grid-padding-x class. HTML
Output: ![]() Foundation CSS Flexbox Utilities Source Ordering Reference: https://get.foundation/sites/docs/flexbox-utilities.html#source-ordering |
Reffered: https://www.geeksforgeeks.org
CSS |
Related |
---|
![]() |
![]() |
![]() |
![]() |
![]() |
Type: | Geek |
Category: | Coding |
Sub Category: | Tutorial |
Uploaded by: | Admin |
Views: | 9 |