![]() |
Foundation CSS is an open-source and responsive front-end framework built by ZURB foundation in September 2011, that makes it easy to layout stunning responsive websites, apps, and emails that appear amazing and can be accessible to any device. In this article, we will discuss the Kitchen Sink Float Classes in Foundation CSS. The Float Class is used to add the float behavior to the elements, either to the left or right of the layout. In order to clear the floats, we can use the .clearfix class to the parent element. Foundation CSS Kitchen Sink Float Classes:
Syntax: <div class="callout clearfix"> <a class="button float-left">Left</a> <a class="button float-right">Right</a> </div> Example 1: The below example illustrates the use of Kitchen Sink Float Classes using the float-left class. HTML
Output: ![]() Kitchen Sink float-left Class Example 2: The below example illustrates the use of Kitchen Sink Float Classes using the float-right class. HTML
Output: ![]() Foundation CSS Kitchen Sink Float Reference link: https://get.foundation/sites/docs/kitchen-sink.html#float-classes |
Reffered: https://www.geeksforgeeks.org
CSS |
Related |
---|
![]() |
![]() |
|
![]() |
![]() |
Type: | Geek |
Category: | Coding |
Sub Category: | Tutorial |
Uploaded by: | Admin |
Views: | 9 |