Timeline with CSS

Developer
Size
2,552 Kb
Views
8,096

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 Previews

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%; }
}
Timeline with CSS - Script Codes
Timeline with CSS - Script Codes
Home Page Home
Developer Tommy
Username hoehoe
Uploaded December 30, 2022
Rating 3
Size 2,552 Kb
Views 8,096
Do you need developer help for Timeline with CSS?

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!

Tommy (hoehoe) 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!