mirror of
https://gitlab.com/tutorial-java-rafa-munoz/tutorial-java-2024-25/LMSGI-2024-25.git
synced 2025-11-09 18:03:06 +01:00
feat(sass): added
This commit is contained in:
13
Unidad_03_HTML/SASS/01_variables/index.html
Normal file
13
Unidad_03_HTML/SASS/01_variables/index.html
Normal file
@@ -0,0 +1,13 @@
|
||||
<!DOCTYPE html>
|
||||
<html>
|
||||
<link rel="stylesheet" href="index.css">
|
||||
<body>
|
||||
|
||||
<h1>Hello World</h1>
|
||||
|
||||
<p>This is a paragraph.</p>
|
||||
|
||||
<div id="container">This is some text inside a container.</div>
|
||||
|
||||
</body>
|
||||
</html>
|
||||
14
Unidad_03_HTML/SASS/01_variables/index.scss
Normal file
14
Unidad_03_HTML/SASS/01_variables/index.scss
Normal file
@@ -0,0 +1,14 @@
|
||||
$myFont: Helvetica, sans-serif;
|
||||
$myColor: yellow;
|
||||
$myFontSize: 18px;
|
||||
$myWidth: 680px;
|
||||
|
||||
body {
|
||||
font-family: $myFont;
|
||||
font-size: $myFontSize;
|
||||
color: $myColor;
|
||||
}
|
||||
|
||||
#container {
|
||||
width: $myWidth;
|
||||
}
|
||||
Reference in New Issue
Block a user