Last active
January 3, 2021 17:00
-
-
Save ryandejaegher/51092807f70ffb566b30bd81147b67d7 to your computer and use it in GitHub Desktop.
LESS Demo
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| { | |
| "scripts": [ | |
| "https://cdnjs.cloudflare.com/ajax/libs/gsap/3.5.1/TextPlugin.min.js" | |
| ], | |
| "styles": [] | |
| } |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| <!DOCTYPE html> | |
| <html lang="en"> | |
| <head> | |
| <meta charset="UTF-8"> | |
| <meta name="viewport" content="width=device-width, initial-scale=1.0"> | |
| <title>Document</title> | |
| </head> | |
| <body> | |
| <div id="page-id-2"> | |
| <div>Yo</div> | |
| </div> | |
| <div id="page-id-3"> | |
| <div></div> | |
| </div> | |
| </body> | |
| </html> |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| .demo(@id, @color) { | |
| #page-id-@{id} { | |
| background: @color; | |
| width: 200px; | |
| height: 200px; | |
| } | |
| } | |
| .cool() { | |
| background: red; | |
| border-radius: 100px; | |
| } | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment