Colorful flexblock
How do I make an colorful flexblock?
What is a colorful flexblock? How do you make a colorful flexblock? This script and codes were developed by Alexandr on 10 August 2022, Wednesday.
Colorful flexblock - Script Codes HTML Codes
<!DOCTYPE html>
<html >
<head> <meta charset="UTF-8"> <title>colorful flexbox</title> <link rel="stylesheet" href="css/style.css">
</head>
<body>
<div class="i-f-1"></div>
<div class="container"> <div class="fl fl-1">1</div> <div class="fl fl-2">2</div> <div class="fl fl-3">3</div> <div class="fl fl-4">4</div> <div class="fl fl-5">5</div> <div class="fl fl-6">6 </div> <div class="fl fl-7">7</div> <div class="fl fl-8">8</div> <div class="fl fl-1">9</div> <div class="fl fl-2">10</div> <div class="fl fl-3">11</div> <div class="fl fl-4">12</div> <div class="fl fl-5">13</div> <div class="fl fl-6">14</div> <div class="fl fl-7">15</div> <div class="fl fl-8">16</div>
</div>
</body>
</html>
Colorful flexblock - Script Codes CSS Codes
body { background: #004; color: white; font-size: 2em;
}
.i-f-1 { display: inline-flex; flex-direction: column;
}
.container { background: white; border: 0px solid #888; display: inline-flex; flex-direction: column; flex-wrap: wrap; align-content: space-around; width: 100%; height: 400px; background: #002;
}
.container .fl { border: 1px solid #555; border-radius: 10px; width: 20%; height: 75px; margin: 10px; text-align: center; text-shadow: 1px 1px 1px #555; animation-name: colorful; animation-duration: 10s; animation-iteration-count: infinite;
}
.container .fl-1 { height: 60px;
}
.container .fl-2 { height: 130px;
}
.container .fl-3 { height: 30px;
}
.container .fl-4 { height: 80px;
}
.container .fl-1, .container .fl-6 { --start-hue: 120;
}
.container .fl-2, .container .fl-7 { --start-hue: 240;
}
.container .fl-3, .container .fl-8 { --start-hue: 0;
}
.container .fl-4 { --start-hue: 60;
}
.container .fl-5 { --start-hue: 180;
}
@keyframes colorful { 0% { background-color: hsl(calc(var(--start-hue)), 100%, 50%); } 12.5% { background-color: hsl(calc(45 + var(--start-hue)), 100%, 50%); } 25% { background-color: hsl(calc(90 + var(--start-hue)), 100%, 50%); } 37.5% { background-color: hsl(calc(135 + var(--start-hue)), 100%, 50%); } 50% { background-color: hsl(calc(180 + var(--start-hue)), 100%, 50%); } 62.5% { background-color: hsl(calc(225 + var(--start-hue)), 100%, 50%); } 75% { background-color: hsl(calc(270 + var(--start-hue)), 100%, 50%); } 87.5% { background-color: hsl(calc(315 + var(--start-hue)), 100%, 50%); } 100% { background-color: hsl(calc(360 + var(--start-hue)), 100%, 50%); }
}
Developer | Alexandr |
Username | Aortan |
Uploaded | August 10, 2022 |
Rating | 3 |
Size | 2,699 Kb |
Views | 54,648 |
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 |
Mastermind | 7,180 Kb |
Tooltips | 3,353 Kb |
Flexblock | 2,153 Kb |
Background change button | 2,633 Kb |
Game of Life | 5,070 Kb |
Webkit-scrollbar | 3,612 Kb |
Tooltips with BEM | 3,455 Kb |
Color Game of Life | 5,809 Kb |
A Pen by Alexander | 10,161 Kb |
Overflow-wrap and white-space | 2,790 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 |
JQuery AJAX reddit Exercise | Btholt | 1,777 Kb |
Video Player Custom Controls | EleftheriaBatsou | 3,665 Kb |
Scrolling Horizontal Isotope | Bramus | 2,017 Kb |
Hover Animation from UNIQLO | Insprd | 3,772 Kb |
TweenMax transformOrigin Bubble | Nicolund | 2,209 Kb |
Email Marketing Mock | Kristenzirkler | 8,224 Kb |
A Bouncy Menu Toggle | Billyysea | 4,563 Kb |
Resizable SASS Icons | Marianarlt | 7,611 Kb |
A Pen by Kenny Mark | Kennymark | 5,574 Kb |
700 Synapses Per Second | Silentkrange | 2,138 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!