CSS3 glowing LEDs

Developer
Size
2,166 Kb
Views
30,360

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 Previews

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
CSS3 glowing LEDs - Script Codes
Home Page Home
Developer Tom
Username tomprogers
Uploaded September 16, 2022
Rating 3
Size 2,166 Kb
Views 30,360
Do you need developer help for CSS3 glowing LEDs?

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!

Tom (tomprogers) Script Codes
Create amazing marketing copy with AI!

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!