Timeline with CSS
How do I make an timeline with css?
What is a timeline with css? How do you make a timeline with css? This script and codes were developed by Tommy on 30 December 2022, Friday.
Timeline with CSS - Script Codes HTML Codes
<!DOCTYPE html>
<html >
<head> <meta charset="UTF-8"> <title>Timeline with CSS</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> <h2>Simple Timeline (responsive) :D</h2>
<ul class="t-timeline"> <li> <p class="t-timeline-date">20XX/Feb</p> <div class="t-timeline-content"> <h3>Lorem ipsum dolor.</h3> <p>Lorem ipsum dolor sit amet, consectetur adipisicing elit. Fuga, atque!</p> </div> </li> <li> <p class="t-timeline-date">20XX/Feb</p> <div class="t-timeline-content"> <h3>Lorem ipsum dolor.</h3> <p>Lorem ipsum dolor sit amet, consectetur adipisicing elit. Fuga, atque!</p> </div> </li> <li> <p class="t-timeline-date">20XX/Feb</p> <div class="t-timeline-content"> <h3>Lorem ipsum dolor.</h3> <p>Lorem ipsum dolor sit amet, consectetur adipisicing elit. Fuga, atque!</p> </div> </li>
</ul>
</body>
</html>
Timeline with CSS - Script Codes CSS Codes
@import url("https://fonts.googleapis.com/css?family=Roboto");
html, body { font-family: "Roboto", sans-serif; color: #555;
}
h2 { text-align: center; margin-bottom: 50px;
}
.t-timeline { list-style: none;
}
.t-timeline > li { margin-bottom: 60px;
}
.t-timeline .t-timeline-date { border-bottom: 2px solid #2196f3; display: inline-block;
}
/* for Desktop */
@media (min-width: 640px) { .t-timeline > li { overflow: hidden; margin: 0; position: relative; } .t-timeline > li .t-timeline-date { width: 110px; float: left; margin-top: 20px; border-bottom: none; } .t-timeline > li .t-timeline-content { width: 75%; float: left; border-left: 3px #e5e5d1 solid; padding-left: 30px; } .t-timeline > li .t-timeline-content p { line-height: 1.6; } .t-timeline > li .t-timeline-content:before { content: ''; width: 12px; height: 12px; background-color: #2196f3; position: absolute; left: 106px; top: 24px; border-radius: 100%; }
}
Developer | Tommy |
Username | hoehoe |
Uploaded | December 30, 2022 |
Rating | 3 |
Size | 2,552 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 |
A Pen by Tommy | 1,738 Kb |
Customise Scroll Bar with css | 2,853 Kb |
AngularJS | 2,264 Kb |
Materialize css | 3,074 Kb |
Star Rates with radio buttons and CSS | 2,650 Kb |
Adding FontAwsome icon via CSS pseudo vs fa class | 2,614 Kb |
CSS animation | 2,194 Kb |
CSS Sub-orderd list | 1,965 Kb |
Get Form value with jQuery | 1,931 Kb |
Parallax with only css | 3,096 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 |
IbrahimJabbari-Effect21 | Ibrahimjabbari | 1,882 Kb |
Find The Penguin | Lelder | 2,212 Kb |
A Pen by Stan Williams | Stanssongs | 6,706 Kb |
Sticky Navbar | Phantomesse | 5,106 Kb |
Brent Burns Tribute Page | Nevada48 | 2,569 Kb |
Zip Button test | Lje7462 | 1,932 Kb |
Single element checkbox | Ivijaygupta | 1,996 Kb |
A Pen by Jim Savage | Madebyjam | 2,418 Kb |
CSS Colors | Alexpate | 2,232 Kb |
Tiling Subdivision | Francext | 3,937 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!