CSS3 glowing LEDs
How do I make an css3 glowing leds?
Implemented via an @led mixin that accepts size and color; accomplishes its effect with multiple box shadows.. What is a css3 glowing leds? How do you make a css3 glowing leds? This script and codes were developed by Tom on 16 September 2022, Friday.
CSS3 glowing LEDs - Script Codes HTML Codes
<!DOCTYPE html>
<html >
<head> <meta charset="UTF-8"> <title>CSS3 glowing LEDs</title> <link rel="stylesheet" href="css/style.css">
</head>
<body> <div class="led green big"></div>
<div class="led yellow big"></div>
<div class="led red big"></div>
<div class="led blue big"></div>
<div class="led gray big"></div>
<div class="led green"></div>
<div class="led yellow"></div>
<div class="led red"></div>
<div class="led blue"></div>
<div class="led gray"></div>
</body>
</html>
CSS3 glowing LEDs - Script Codes CSS Codes
body { padding: 100px; background-color: #ddd;
}
.led { margin: 10px auto;
}
.led.big.green { width: 20px; height: 20px; background-color: #fff; border-radius: 50%; box-shadow: #000 0px 0px 1px 0px, #6eb300 -2px -4px 12px 2px inset, 0px 0px 10px 0px #6eb300;
}
.led.big.yellow { width: 20px; height: 20px; background-color: #fff; border-radius: 50%; box-shadow: #000 0px 0px 1px 0px, #b3a000 -2px -4px 12px 2px inset, 0px 0px 10px 0px #b3a000;
}
.led.big.red { width: 20px; height: 20px; background-color: #fff; border-radius: 50%; box-shadow: #000 0px 0px 1px 0px, #b30600 -2px -4px 12px 2px inset, 0px 0px 10px 0px #b30600;
}
.led.big.blue { width: 20px; height: 20px; background-color: #fff; border-radius: 50%; box-shadow: #000 0px 0px 1px 0px, #004ab3 -2px -4px 12px 2px inset, 0px 0px 10px 0px #004ab3;
}
.led.big.gray { width: 20px; height: 20px; background-color: #fff; border-radius: 50%; box-shadow: #000 0px 0px 1px 0px, rgba(40, 40, 40, 0.75) -2px -4px 12px 2px inset, 0px 0px 10px 0px rgba(40, 40, 40, 0.75);
}
.led.green { width: 8px; height: 8px; background-color: #fff; border-radius: 50%; box-shadow: #000 0px 0px 1px 0px, #6eb300 -0.8px -1.6px 4.8px 2px inset, 0px 0px 4px 0px #6eb300;
}
.led.yellow { width: 8px; height: 8px; background-color: #fff; border-radius: 50%; box-shadow: #000 0px 0px 1px 0px, #b3a000 -0.8px -1.6px 4.8px 2px inset, 0px 0px 4px 0px #b3a000;
}
.led.red { width: 8px; height: 8px; background-color: #fff; border-radius: 50%; box-shadow: #000 0px 0px 1px 0px, #b30600 -0.8px -1.6px 4.8px 2px inset, 0px 0px 4px 0px #b30600;
}
.led.blue { width: 8px; height: 8px; background-color: #fff; border-radius: 50%; box-shadow: #000 0px 0px 1px 0px, #004ab3 -0.8px -1.6px 4.8px 2px inset, 0px 0px 4px 0px #004ab3;
}
.led.gray { width: 8px; height: 8px; background-color: #fff; border-radius: 50%; box-shadow: #000 0px 0px 1px 0px, rgba(40, 40, 40, 0.45) -0.8px -1.6px 4.8px 2px inset, 0px 0px 4px 0px rgba(40, 40, 40, 0.45);
}
![CSS3 glowing LEDs - Script Codes](http://shots.codepen.io/tomprogers/pen/HLKFg-512.jpg)
Developer | Tom |
Username | tomprogers |
Uploaded | September 16, 2022 |
Rating | 3 |
Size | 2,166 Kb |
Views | 30,360 |
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 |
Storage visualization | 4,014 Kb |
RGB as resource value | 2,203 Kb |
JQueryUI widemeter widget | 2,648 Kb |
Demo of some course-list filtering | 9,852 Kb |
Static doc search | 5,255 Kb |
JQueryUI Capacity Meter widget | 2,612 Kb |
API documentation | 3,622 Kb |
Progress bar | 1,974 Kb |
Web component sandbox | 1,936 Kb |
Sidebar layout for doc viewer | 9,963 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 |
Wikipedia Viewer | Thalpha | 4,426 Kb |
Tree growth tests | Orchard | 3,818 Kb |
Revolving Text Landing Page Trial | TimRuby | 2,976 Kb |
Flying Bee | Pwsm50 | 3,711 Kb |
HTML5 Video Autoplay | Zivcos | 1,352 Kb |
Hc first draft | Stepfray | 5,104 Kb |
Flex Table | Simeonoff | 4,059 Kb |
Multicolumns 2 | Raphaelgoetter | 1,857 Kb |
Comment Jquery | SquishyAndroid | 2,421 Kb |
Coburg Banks SVG Logo | Mjtweaver | 3,875 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!