Author: Awais Farooq
-
Base Typography
Description Typography in Foundation defines headings, paragraphs, lists and other inline elements which create attractive and simple default styles for elements. The following table lists the different types of typography used in Foundation − Sr.No. Typography & Description 1 ParagraphsParagraph is a group of sentences defined with different font size, highlighted words, line height etc.…
-
Visibility Classes
Description The following table lists the visibility classes of Foundation, which control the elements based on their browsing environment − Sr.No. Visibility Class & Description 1 Show by Screen SizeIt shows the elements based on the device by using .show class. 2 Hide by Screen SizeIt hides the elements based on the device by using .hide class. Foundation supports…
-
Forms
In this chapter, we will study about Forms. Foundation provides powerful, easy and versatile layout system for Forms, which combines form styles and grid support. The following table lists the form elements used in Foundation. Sr.No. Form element & Description 1 Form BasicsCreation of forms is easy and very flexible, which are built with a combination of…
-
Flex Grid
The grid depends on the flex display property. It consists of a number of features that are available with the flexbox, like automatic stacking, source ordering, vertical alignment and horizontal alignment. Browser Support The flex grid is supported in Chrome, Firefox, Internet Explorer 10+, Safari 6+, Android 4+ and iOS 7+. The following table describes the features…
-
The Grid
Description Foundation grid system scales up to 12 columns through the page. Grid systems are used to create page layouts through a series of rows and columns that house your content. Grid Options The following table tells briefly about how the Foundation grid system works in multiple devices. Small devices Phones(<640px) Medium devices Tablets(>=640px) Large…
-
Media Queries
Media queries are CSS3 module that include media features such as width, height, color and displays the content as per the specified screen resolution. Foundation uses the following media queries to create breakdown ranges − You can change the screen size by using the breakpoint classes. For instance, you can use .small-6 class for small sized screens and .medium-4 class…
-
The Grid
Description Foundation grid system scales up to 12 columns through the page. Grid systems are used to create page layouts through a series of rows and columns that house your content. Grid Options The following table tells briefly about how the Foundation grid system works in multiple devices. Small devices Phones(<640px) Medium devices Tablets(>=640px) Large…
-
Media Queries
Media queries are CSS3 module that include media features such as width, height, color and displays the content as per the specified screen resolution. Foundation uses the following media queries to create breakdown ranges − You can change the screen size by using the breakpoint classes. For instance, you can use .small-6 class for small sized screens and .medium-4 class…
-
JavaScript Utilities
Foundation includes JavaScript utilities that are used to add common functionalities. It is very helpful and easy to use. This JavaScript utilities library can be found in the folder Your_folder_name/node_modules/foundation-sites/js Box The returned object specifies the dimension of the element as − Keyboard The following code is used to find all focusable elements within the given $element. Therefore, there…
-
JavaScript
In this chapter, we will study about JavaScript. It is easy to set up JavaScript in Foundation; only thing you require is jQuery. JavaScript Installing You can use ZIP download, package manager, or CDN to get Foundation JavaScript file. In your code you can provide links to jQuery and Foundation as <script> tags, placed before the…