Color Variables
How do I make an color variables?
What is a color variables? How do you make a color variables? This script and codes were developed by Chung Man Chau on 15 January 2023, Sunday.
Color Variables - Script Codes HTML Codes
<!DOCTYPE html>
<html >
<head> <meta charset="UTF-8"> <title>Color Variables</title> <link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/normalize/5.0.0/normalize.min.css"> <link rel="stylesheet" href="css/style.css">
</head>
<body> <div class="btn btn-orange"> Orange
</div>
<div class="btn btn-blue"> Blue
</div>
<div class="btn btn-red"> Red
</div>
</body>
</html>
Color Variables - Script Codes CSS Codes
body { height: 100vh; display: -webkit-box; display: -ms-flexbox; display: flex; -webkit-box-pack: center; -ms-flex-pack: center; justify-content: center; -webkit-box-align: center; -ms-flex-align: center; align-items: center; background: #333;
}
.btn { padding: 10px; text-align: center; width: 120px; margin: 0 20px; background: var(--c); font-weight: bold; color: #FFF;
}
.btn-orange { --c: #FF5722;
}
.btn-blue { --c: #2196F3;
}
.btn-red { --c: #f44336;
}
Developer | Chung Man Chau |
Username | chungman93 |
Uploaded | January 15, 2023 |
Rating | 3 |
Size | 1,956 Kb |
Views | 6,072 |
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 |
Bray Wealth - Mock up - Responsive | 4,796 Kb |
Time Zone Mock Up - WIP | 4,386 Kb |
BBC Beta - Grid | 2,153 Kb |
Morphing Iphone | 3,862 Kb |
Expanding Tiles | 3,932 Kb |
Grid with Flex Fallback | 1,710 Kb |
Using grid in the real world | 2,912 Kb |
CSS Masking Button Hovers | 1,173 Kb |
Iphone Mockup | 3,283 Kb |
Target Last Row - CSS Only | 1,568 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 |
Iron Man SVG Loading Animation | Andythayer | 3,069 Kb |
Infractions - Attitude | Kylie_Joseph | 7,672 Kb |
Perspective Origin Demo | Agelber | 3,614 Kb |
Dice | Fraina | 5,026 Kb |
Zeichensatz | Moklick | 2,058 Kb |
Slide out Menu | Rbiggs | 4,936 Kb |
A Pen by Kenny Mark | Kennymark | 5,574 Kb |
AOR site logo | Thatbram | 2,527 Kb |
Vue.js | Thommyboy02 | 1,506 Kb |
Collapsing Widget | Er40 | 4,279 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!