LESS - Nesting
How do I make an less - nesting?
This pretty much preprocessor 101 stuff right here, but it's good have a solid grasp of the fundamentals.. What is a less - nesting? How do you make a less - nesting? This script and codes were developed by David on 14 November 2022, Monday.
LESS - Nesting - Script Codes HTML Codes
<!DOCTYPE html>
<html >
<head> <meta charset="UTF-8"> <title>LESS - Nesting</title> <link rel="stylesheet" href="css/style.css">
</head>
<body> <div class="container"> <h1>Nesting</h1> <div class="box box-red"> <span>Red</span> </div> <div class="box box-blue"> <span>Blue</span> </div>
</div>
<div id="other"> <ul class="list"> <li class="box box-red"></li> <li class="box box-blue"></li> </ul>
</div>
</body>
</html>
LESS - Nesting - Script Codes CSS Codes
@import url(https://fonts.googleapis.com/css?family=Raleway:100);
body { background: #ecf0f1; font-family: 'Raleway', sans-serif; letter-spacing: 3px;
}
.container { text-align: center; margin-top: 50px;
}
.box { height: 150px; width: 150px; display: inline-block; color: #ecf0f1;
}
.box span { font-size: 32px;
}
.box.box-red { background: #c0392b;
}
.box.box-red:hover { background: #e74c3c;
}
.box.box-blue { background: #2c3e50;
}
.box.box-blue:hover { background: #34495e;
}
.box:hover { background: #000;
}
#other ul { margin-top: 30px;
}
#other ul li { height: 300px;
}
Developer | David |
Username | david-east |
Uploaded | November 14, 2022 |
Rating | 3 |
Size | 2,326 Kb |
Views | 20,240 |
Find the perfect freelance services for your business! Fiverr's mission is to change how the world works together. Fiverr connects businesses with freelancers offering digital services in 500+ categories. Find Developer!
Name | Size |
Polaroid Fade-in | 2,986 Kb |
HTML5 Geolocation | 1,456 Kb |
IPhone Targeting | 2,073 Kb |
Mobile Disabled Animation | 2,985 Kb |
A Pen by David | 1,823 Kb |
Restrictive Queries with Firebase | 2,083 Kb |
Flat UI Login Form | 3,079 Kb |
Jasper is the AI Content Generator that helps you and your team break through creative blocks to create amazing, original content 10X faster. Discover all the ways the Jasper AI Content Platform can help streamline your creative workflows. Start For Free!
Name | Username | Size |
CSS Dynamic Width Square Div | Elleestcrimi | 2,861 Kb |
Basecamp 3 Document | Lachlanjc | 3,811 Kb |
Animated rainbow wave on canvas | Icodeforlove | 2,777 Kb |
Project -Show the Local Weather | Luciano_Britis | 2,583 Kb |
Disable JavaScript execution from console | Ludviglindblom | 2,534 Kb |
React Template | Isac | 1,241 Kb |
CSS Flip Animation | Bbodine1 | 2,525 Kb |
Pomodoro Clock | Osycon | 3,705 Kb |
Segments mouse following | Nosir | 2,909 Kb |
Mapbox Directions with geolocation tracking | Pollardld | 5,827 Kb |
Surf anonymously, prevent hackers from acquiring your IP address, send anonymous email, and encrypt your Internet connection. High speed, ultra secure, and easy to use. Instant setup. Hide Your IP Now!