![]() |
Tachyons is a toolkit that is used to create a responsive website. In this article, we will learn how to define any layout using the Tachyons toolkit. Every website is divided into various parts like a header, menus, content, and a footer. Tachyons layout is used to define those sub-parts of a website. Layout debug: These classes are used to put a background grid on any element which can help you line elements vertically up and horizontally with each other. Syntax: <element-name class="class-name"> ... </element-name> Classes Used:
Example 1: In the below code, we will make an 8px grid in the background and see the alignment. 8px grid means square of 2px from each side. HTML
Output: ![]()
Example 2: In the below code, we will make a grid of 16px (square of 4px from each side). HTML
Output: ![]()
Reference: https://tachyons.io/docs/debug-grid/ |
Reffered: https://www.geeksforgeeks.org
CSS |
Related |
---|
![]() |
![]() |
![]() |
![]() |
![]() |
Type: | Geek |
Category: | Coding |
Sub Category: | Tutorial |
Uploaded by: | Admin |
Views: | 13 |