Pure CSS popup graph
How do I make an pure css popup graph?
Using hover and transition on . What is a pure css popup graph? How do you make a pure css popup graph? This script and codes were developed by Nathan Gregg on 25 December 2022, Sunday.
Pure CSS popup graph - Script Codes HTML Codes
<!DOCTYPE html>
<html >
<head> <meta charset="UTF-8"> <title>Pure CSS popup graph</title> <meta name="viewport" content="width=device-width, initial-scale=1"> <link rel="stylesheet" href="css/style.css">
</head>
<body> <div class="container">
<ul class="chart"> <li class="video1"> <div class="percent">99<span class="percent_sm">%</span></div> <div class="skill">Canon DSLR,<br>Premiere CC,<br>Final Cut,<br>Photoshop,<br>Magic Bullet<br></div> </li> <li class="video2"> <div class="percent">70<span class="percent_sm">%</span></div> <div class="skill">Nikon DSLR,<br>After Effects,<br>Illustrator,<br>Speedgrade,<br>Other Adobe CC</div> </li> <li class="audio1"> <div class="percent">90<span class="percent_sm">%</span></div> <div class="skill">MAX-MSP + Jitter<br>Ableton,<br>Native Inst,<br>Live Engineering</div> </li> <li class="audio2"> <div class="percent">60<span class="percent_sm">%</span></div> <div class="skill">Logic,<br>Pro Tools,<br>Studio Engineering</div> </li> <li class="computer1"> <div class="percent">90<span class="percent_sm">%</span></div> <div class="skill">HTML + CSS,<br>Wordpress,<br>MS Office,<br>iWork</div> </li> <li class="computer2"> <div class="percent">45<span class="percent_sm">%</span></div> <div class="skill">Javascript,<br>Ruby, PHP,<br>Python,<br>Swift</div> </li> </ul>
<div class="chart_cat"> <p class="videotitle">Video</p> <p class="audiotitle">Audio</p> <p class="computingtitle">Computing</p>
</div> </div> <script src="js/index.js"></script>
</body>
</html>
Pure CSS popup graph - Script Codes CSS Codes
@import url(https://fonts.googleapis.com/css?family=VT323);
.container { height: 400px; width: 80%; margin: 0 auto; border: 5px lightgrey solid; background: url(http://cdn.printablepaper.net/samples/grid-portrait-letter-4-index.png) repeat left bottom; background-size: center;
}
.chart { position: relative; width: 100%; height: 250px; margin-left: -70px; display: flex; flex-flow: row nowrap; justify-content: space-around; align-items: flex-end;
}
li { position: relative; display: flex; flex-flow: column nowrap; align-items: center; justify-content: space-between; margin-left: 60px; padding: 0px; top: 40px; text-align: center;
}
li { transform: translate(18px, -19px); box-shadow: -1px 1px 0px #f9f9f9, -2px 2px 0px #f9f9f9, -3px 3px 0px #f9f9f9, -4px 4px 0px #f9f9f9, -5px 5px 0px #f9f9f9, -6px 6px 0px #f9f9f9, -7px 7px 0px #f9f9f9, -8px 8px 0px #f9f9f9, -9px 9px 0px #f9f9f9, -10px 10px 0px #f9f9f9, -11px 11px 0px #f9f9f9, -12px 12px 0px #f9f9f9, -13px 13px 0px #f9f9f9, -14px 14px 0px #f9f9f9, -15px 15px 0px #f9f9f9, -16px 16px 0px #f9f9f9, -17px 17px 0px #f9f9f9, -18px 18px 0px #f9f9f9, -19px 19px 0px #f9f9f9, -21px 21px 0px #f9f9f9, -22px 22px 0px #f9f9f9, -23px 23px 0px #f9f9f9, -24px 24px 0px #f9f9f9, -25px 25px 0px #f9f9f9, -26px 26px 0px #f9f9f9, -27px 27px 0px #f9f9f9, -28px 28px 0px #f9f9f9, -29px 29px 0px #f9f9f9, -30px 30px 0px #f9f9f9, -31px 31px 0px #f9f9f9, -48px 48px 10px rgba(0, 0, 0, .1);
}
.percent_sm { font-size: 30px;
}
.percent { font-family: VT323; letter-spacing: -3px; width: 100%; font-size: 62px; opacity: 0; z-index: -10; transition: opacity .2s 20s;
}
.skill { font-family: VT323; opacity: 0; overflow: hidden; width: 100%; font-size: 14; transition: opacity .2s 20s;
}
.video1 { height: 0%; background: linear-gradient(#18F818, #97FA97); flex: 1; transition: height .2s 20.2s;
}
.container:hover .video1 { height: 99%; transition: height .5s;
}
.video2 { height: 0%; background: linear-gradient(#97FA97, #EAFEEA); flex: 1; transition: height .2s 20.2s;
}
.container:hover .video2 { height: 70%; transition: height .35s;
}
.audio1 { height: 0%; background: linear-gradient(grey, lightgrey); flex: 1; transition: height .2s 20.2s;
}
.container:hover .audio1 { height: 90%; transition: height .45s;
}
.audio2 { height: 0%; background: linear-gradient(lightgrey, white); flex: 1; transition: height .2s 20.2s;
}
.container:hover .audio2 { height: 60%; transition: height .3s;
}
.computer1 { height: 0%; background: linear-gradient(#FFFF1F, #FFFFBC); flex: 1; transition: height .2s 20.2s;
}
.container:hover .computer1 { height: 90%; transition: height .45s;
}
.computer2 { height: 0%; background: linear-gradient(#FFFFBC, #FFFFF2); flex: 1; transition: height .2s 20.2s;
}
.container:hover .computer2 { height: 45%; transition: height .25s;
}
.container:hover .skill { opacity: 0.7; transition: opacity .2s; transition-delay: .5s;
}
.container:hover .percent { opacity: 0.7; transition: opacity .2s; transition-delay: .5s;
}
.chart_cat { position: relative; left: -30px; margin-top: -60px; font-size: 62px; display: flex; flex-flow: row nowrap; z-index: 10;
}
p{ font-family: VT323; font-size: 150%; text-align: center; flex: 1; opacity: 0.3;
}
p.videotitle{ color: #97FA97;
}
p.audiotitle{ color: grey;
}
p.computingtitle{ color: yellow;
}
Pure CSS popup graph - Script Codes JS Codes
/*
Using hover and transition on <li> height. Height is set as percentage in css and grows relative to container. Transition speeds can be changed to make them pop up in a cascade.
Improvements:
Needs a better looking background.
Needs more responsive adding.
*/
Developer | Nathan Gregg |
Username | nathansonic |
Uploaded | December 25, 2022 |
Rating | 3 |
Size | 3,156 Kb |
Views | 8,096 |
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 |
HTML5 Audio example | 2,039 Kb |
Magic Template | 2,992 Kb |
CWB Risk Calc | 3,516 Kb |
Matching 2 Arrays | 2,101 Kb |
Flexbox filter V1 from array | 4,051 Kb |
Logo Skews etc | 3,899 Kb |
CWB logo | 3,375 Kb |
Crappy Fly To Cart - CSS | 2,213 Kb |
Artist Page Styling v5 | 3,275 Kb |
Scroll Horizontal, div to center V2 | 2,026 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 |
A Pen by Patrick Cox | Pcridesagain | 2,899 Kb |
React Vote Component | Souporserious | 5,465 Kb |
Experiment | Toddmoy | 2,849 Kb |
Flexbox Test | Icutpeople | 2,486 Kb |
APortfolio | Skybutterfly | 5,174 Kb |
Animated Slide Hamburger Mobile Menu | BJack | 2,247 Kb |
Faces SVG animation | ScavengerFrontend | 2,957 Kb |
Update CSS Variables with JS | Wesbos | 2,335 Kb |
A Pen by Adrien Clerbois | AClerbois | 6,501 Kb |
Pink expansion tunnel | Vez | 1,738 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!