12/1/25, 11:53 AM 20 HTML/CSS Practical Examples
20 HTML & CSS Practical Examples
A collection of practical HTML and CSS implementations ranging from fundamental concepts
to advanced techniques. Each example includes a working demonstration and clean, reusable
code.
[Link] 1/50
12/1/25, 11:53 AM 20 HTML/CSS Practical Examples
1 Responsive Navigation Bar
A fully responsive navigation bar with logo, menu items, and mobile hamburger menu that transforms into a dropdown on smaller
screens.
Live Demo
Brand Home About Services Contact
HTML & CSS Code Navigation Bar
<nav class="navbar">
<a href="#" class="logo">Brand</a>
<div class="nav-links">
<a href="#">Home</a>
<a href="#">About</a>
<a href="#">Services</a>
<a href="#">Contact</a>
</div>
</nav>
<!-- CSS -->
.navbar {
display: flex;
justify-content: space-between;
[Link] 2/50
12/1/25, 11:53 AM 20 HTML/CSS Practical Examples
align-items: center;
padding: 15px 30px;
background: linear-gradient(90deg, #4361ee, #3a0ca3);
}
.nav-links a {
color: white;
text-decoration: none;
padding: 5px 10px;
border-radius: 5px;
transition: 0.3s;
}
.nav-links a:hover {
background: rgba(255,255,255,0.2);
}
[Link] 3/50
12/1/25, 11:53 AM 20 HTML/CSS Practical Examples
2 Animated Button Collection
A set of buttons with various hover animations and effects including scale, shadow, and gradient transitions.
Live Demo
Scale Effect Border Fill Gradient Shift
HTML & CSS Code Animated Buttons
<!-- HTML -->
<button class="btn btn-scale">Scale Effect</button>
<button class="btn btn-fill">Border Fill</button>
<button class="btn btn-gradient">Gradient Shift</button>
<!-- CSS -->
.btn {
padding: 12px 24px;
border: none;
border-radius: 8px;
font-weight: 600;
cursor: pointer;
transition: all 0.3s ease;
}
.btn-scale {
[Link] 4/50
12/1/25, 11:53 AM 20 HTML/CSS Practical Examples
background: #4361ee;
color: white;
}
.btn-scale:hover {
transform: scale(1.05);
box-shadow: 0 5px 15px rgba(67, 97, 238, 0.4);
}
.btn-fill:hover {
background: #4361ee;
color: white;
}
[Link] 5/50
12/1/25, 11:53 AM 20 HTML/CSS Practical Examples
3 Card Component with Hover
A modern card design with hover effects, shadow transitions, and a call-to-action button.
Live Demo
Web Development
Learn to build modern, responsive
websites using HTML, CSS, and
JavaScript with practical projects.
Learn More
HTML & CSS Code Card Component
[Link] 6/50
12/1/25, 11:53 AM 20 HTML/CSS Practical Examples
<!-- HTML -->
<div class="card">
<div class="card-image">
<i class="fas fa-laptop-code"></i>
</div>
<div class="card-content">
<h3>Web Development</h3>
<p>Learn to build modern websites...</p>
<button class="card-btn">
<i class="fas fa-arrow-right"></i> Learn More
</button>
</div>
</div>
<!-- CSS -->
.card {
background: white;
border-radius: 15px;
overflow: hidden;
box-shadow: 0 5px 15px rgba(0,0,0,0.08);
transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.card:hover {
transform: translateY(-10px);
box-shadow: 0 20px 40px rgba(0,0,0,0.15);
}
.card-btn {
background: #4361ee;
color: white;
border: none;
padding: 10px 20px;
[Link] 7/50
12/1/25, 11:53 AM 20 HTML/CSS Practical Examples
border-radius: 50px;
cursor: pointer;
transition: 0.3s;
}
[Link] 8/50
12/1/25, 11:53 AM 20 HTML/CSS Practical Examples
4 Responsive Grid Layout
A CSS Grid layout that automatically adjusts columns based on screen size, perfect for galleries and dashboards.
Live Demo
Item 1 Item 2 Item 3 Item 4 Item 5
Item 6
Resize browser to see responsive behavior
HTML & CSS Code Grid Layout
<!-- HTML -->
<div class="grid-container">
<div class="grid-item">Item 1</div>
<div class="grid-item">Item 2</div>
<!-- More items -->
</div>
<!-- CSS -->
[Link] 9/50
12/1/25, 11:53 AM 20 HTML/CSS Practical Examples
.grid-container {
display: grid;
grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
gap: 15px;
}
.grid-item {
background: #4361ee;
color: white;
border-radius: 10px;
padding: 30px 15px;
text-align: center;
transition: 0.3s;
}
@media (max-width: 768px) {
.grid-container {
grid-template-columns: repeat(auto-fill, minmax(120px, 1fr));
}
}
[Link] 10/50
12/1/25, 11:53 AM 20 HTML/CSS Practical Examples
5 Modern Form with Validation
A clean contact form with focus effects, validation styles, and a submit button with loading animation.
Live Demo
Name
Enter your name
Email
Enter your email
Message
Your message here...
Send Message
[Link] 11/50
12/1/25, 11:53 AM 20 HTML/CSS Practical Examples
HTML & CSS Code Contact Form
<!-- HTML -->
<form class="contact-form">
<div class="form-group">
<label>Name</label>
<input type="text" placeholder="Enter name">
</div>
<div class="form-group">
<label>Email</label>
<input type="email" placeholder="Enter email">
</div>
<button type="submit">Send Message</button>
</form>
<!-- CSS -->
.form-group {
margin-bottom: 20px;
}
.form-group input {
width: 100%;
padding: 12px 15px;
border: 2px solid #e0e0e0;
border-radius: 8px;
transition: 0.3s;
}
.form-group input:focus {
border-color: #4361ee;
outline: none;
box-shadow: 0 0 0 3px rgba(67, 97, 238, 0.2);
}
[Link] 12/50
12/1/25, 11:53 AM 20 HTML/CSS Practical Examples
button[type="submit"] {
background: #4361ee;
color: white;
border: none;
padding: 14px 30px;
border-radius: 8px;
cursor: pointer;
}
[Link] 13/50
12/1/25, 11:53 AM 20 HTML/CSS Practical Examples
6 Loading Spinner Animation
A pure CSS loading spinner with smooth rotation animation, customizable size and colors.
Live Demo
HTML & CSS Code Loading Animation
<!-- HTML -->
<div class="spinner"></div>
<!-- CSS -->
.spinner {
width: 50px;
height: 50px;
border: 5px solid #f3f3f3;
border-top: 5px solid #4361ee;
border-radius: 50%;
animation: spin 1s linear infinite;
}
[Link] 14/50
12/1/25, 11:53 AM 20 HTML/CSS Practical Examples
/* Animation keyframes */
@keyframes spin {
0% { transform: rotate(0deg); }
100% { transform: rotate(360deg); }
}
/* Pulse animation alternative */
.pulse-loader {
width: 50px;
height: 50px;
background: #4361ee;
border-radius: 50%;
animation: pulse 1.5s infinite;
}
[Link] 15/50
12/1/25, 11:53 AM 20 HTML/CSS Practical Examples
7 Pricing Table Component
A responsive pricing table with highlighted recommended option, feature lists, and purchase buttons.
Live Demo
Most Popular
Basic Pro
$19 /month $49 /month
5 Projects 20 Projects
10GB Storage 50GB Storage
Basic Support Priority Support
Get Started
Get Started
HTML & CSS Code Pricing Table
[Link] 16/50
12/1/25, 11:53 AM 20 HTML/CSS Practical Examples
<!-- HTML -->
<div class="pricing-card recommended">
<h3>Pro</h3>
<div class="price">
<span class="amount">$49</span>
<span class="period">/month</span>
</div>
<ul class="features">
<li><i class="fas fa-check"></i> 20 Projects</li>
<!-- More features -->
</ul>
<button class="purchase-btn">Get Started</button>
</div>
<!-- CSS -->
.pricing-card {
background: white;
border-radius: 15px;
padding: 30px;
box-shadow: 0 10px 30px rgba(0,0,0,0.08);
transition: 0.3s;
}
.[Link] {
border: 2px solid #f72585;
transform: scale(1.05);
}
.price .amount {
font-size: 2.5rem;
font-weight: bold;
color: #4361ee;
}
[Link] 17/50
12/1/25, 11:53 AM 20 HTML/CSS Practical Examples
.purchase-btn {
width: 100%;
padding: 12px;
background: #4361ee;
color: white;
border: none;
border-radius: 8px;
cursor: pointer;
}
[Link] 18/50
12/1/25, 11:53 AM 20 HTML/CSS Practical Examples
8 Testimonial Slider
A testimonial slider with customer reviews, star ratings, and navigation controls, built with CSS only.
Live Demo
John Smith
CEO, Tech Company
"This service completely transformed our workflow. The results exceeded our
expectations and the team was professional throughout."
HTML & CSS Code Testimonial Slider
<!-- HTML -->
<div class="testimonial-slider">
<div class="testimonial active">
<div class="client-info">
<div class="avatar">JS</div>
[Link] 19/50
12/1/25, 11:53 AM 20 HTML/CSS Practical Examples
<div>
<h4>John Smith</h4>
<p>CEO, Tech Company</p>
</div>
</div>
<p class="quote">"Great service!"</p>
</div>
</div>
<!-- CSS -->
.testimonial-slider {
position: relative;
overflow: hidden;
height: 250px;
}
.testimonial {
position: absolute;
width: 100%;
transition: transform 0.5s ease, opacity 0.5s ease;
}
.[Link] {
opacity: 1;
transform: translateX(0);
}
.client-info {
display: flex;
align-items: center;
margin-bottom: 20px;
}
[Link] 20/50
12/1/25, 11:53 AM 20 HTML/CSS Practical Examples
.avatar {
width: 60px;
height: 60px;
border-radius: 50%;
background: #4361ee;
color: white;
display: flex;
align-items: center;
justify-content: center;
}
[Link] 21/50
12/1/25, 11:53 AM 20 HTML/CSS Practical Examples
9 Progress Bar Component
Animated progress bars with different styles, colors, and labels showing completion percentages.
Live Demo
HTML/CSS 85%
JavaScript 70%
React 60%
HTML & CSS Code Progress Bar
<!-- HTML -->
<div class="progress-item">
<div class="progress-label">
<span>HTML/CSS</span>
<span>85%</span>
</div>
<div class="progress-bar">
<div class="progress-fill" style="width: 85%"></div>
</div>
[Link] 22/50
12/1/25, 11:53 AM 20 HTML/CSS Practical Examples
</div>
<!-- CSS -->
.progress-bar {
height: 10px;
background: #e9ecef;
border-radius: 5px;
overflow: hidden;
}
.progress-fill {
height: 100%;
border-radius: 5px;
background: #4361ee;
transition: width 1.5s ease-in-out;
}
<!-- Striped progress bar -->
.[Link] {
background: linear-gradient(45deg,
rgba(255,255,255,0.15) 25%,
transparent 25%,
transparent 50%,
rgba(255,255,255,0.15) 50%,
rgba(255,255,255,0.15) 75%,
transparent 75%);
background-size: 30px 30px;
animation: moveStripes 1s linear infinite;
}
[Link] 23/50
12/1/25, 11:53 AM 20 HTML/CSS Practical Examples
10 Modal Dialog Box
A popup modal with overlay, close button, and smooth entrance animation for alerts or confirmations.
Live Demo
HTML & CSS Code Modal Dialog
<!-- HTML -->
<div id="modal" class="modal-overlay">
<div class="modal-content">
<div class="modal-header">
<h3>Modal Title</h3>
<button class="close-btn">×</button>
</div>
<div class="modal-body">
<p>Modal content goes here...</p>
</div>
<div class="modal-footer">
<button class="btn secondary">Cancel</button>
<button class="btn primary">Confirm</button>
</div>
</div>
</div>
[Link] 24/50
12/1/25, 11:53 AM 20 HTML/CSS Practical Examples
<!-- CSS -->
.modal-overlay {
position: fixed;
top: 0;
left: 0;
width: 100%;
height: 100%;
background: rgba(0,0,0,0.5);
display: none;
align-items: center;
justify-content: center;
z-index: 1000;
}
.modal-content {
background: white;
border-radius: 15px;
width: 90%;
max-width: 500px;
overflow: hidden;
}
[Link] 25/50
12/1/25, 11:53 AM 20 HTML/CSS Practical Examples
11 Accordion Component
A collapsible accordion with smooth animations, icons, and proper spacing for FAQ sections.
Live Demo
What is HTML? +
What is CSS? +
What is JavaScript? +
HTML & CSS Code Accordion
<!-- HTML -->
<div class="accordion">
<div class="accordion-item">
<div class="accordion-header">
<span>Question 1</span>
<span class="icon">+</span>
</div>
<div class="accordion-content">
[Link] 26/50
12/1/25, 11:53 AM 20 HTML/CSS Practical Examples
<p>Answer 1...</p>
</div>
</div>
</div>
<!-- CSS -->
.accordion-item {
border: 1px solid #e0e0e0;
border-radius: 10px;
margin-bottom: 10px;
overflow: hidden;
}
.accordion-header {
padding: 20px;
background: #f8f9fa;
cursor: pointer;
display: flex;
justify-content: space-between;
}
.accordion-content {
padding: 0 20px;
max-height: 0;
overflow: hidden;
transition: max-height 0.3s ease;
}
.[Link] .accordion-content {
padding: 20px;
max-height: 500px;
}
[Link] 27/50
12/1/25, 11:53 AM 20 HTML/CSS Practical Examples
12 Dropdown Menu
A multi-level dropdown navigation menu with hover effects and smooth transitions.
Live Demo
Menu
HTML & CSS Code Dropdown Menu
<!-- HTML -->
<div class="dropdown">
<button class="dropdown-btn">
Menu <i class="fas fa-chevron-down"></i>
</button>
<div class="dropdown-content">
<a href="#" class="dropdown-item">Home</a>
<a href="#">Profile</a>
<a href="#">Settings</a>
</div>
</div>
<!-- CSS -->
.dropdown {
[Link] 28/50
12/1/25, 11:53 AM 20 HTML/CSS Practical Examples
position: relative;
display: inline-block;
}
.dropdown-content {
position: absolute;
background: white;
min-width: 200px;
box-shadow: 0 10px 30px rgba(0,0,0,0.15);
border-radius: 10px;
opacity: 0;
visibility: hidden;
transition: opacity 0.3s, visibility 0.3s;
z-index: 100;
}
.dropdown:hover .dropdown-content {
opacity: 1;
visibility: visible;
}
.dropdown-item {
padding: 15px 20px;
display: block;
color: #212529;
text-decoration: none;
transition: 0.3s;
}
[Link] 29/50
12/1/25, 11:53 AM 20 HTML/CSS Practical Examples
13 Tooltip Component
Custom tooltips that appear on hover with different positions and styling options.
Live Demo
Top Tooltip Right Tooltip
HTML & CSS Code Tooltip
<!-- HTML -->
<div class="tooltip-container">
<button class="tooltip-trigger">Hover me</button>
<div class="tooltip tooltip-top">Tooltip text</div>
</div>
<!-- CSS -->
.tooltip-container {
position: relative;
display: inline-block;
}
.tooltip {
position: absolute;
background: #333;
color: white;
padding: 8px 15px;
[Link] 30/50
12/1/25, 11:53 AM 20 HTML/CSS Practical Examples
border-radius: 6px;
font-size: 0.9rem;
opacity: 0;
visibility: hidden;
transition: opacity 0.3s, visibility 0.3s;
z-index: 100;
}
.tooltip::before {
content: '';
position: absolute;
border: 6px solid transparent;
}
.tooltip-top {
bottom: 100%;
left: 50%;
transform: translateX(-50%) translateY(-10px);
}
.tooltip-container:hover .tooltip {
opacity: 1;
visibility: visible;
transform: translateX(-50%) translateY(0);
}
[Link] 31/50
12/1/25, 11:53 AM 20 HTML/CSS Practical Examples
14 Toggle Switch
Custom toggle switches for settings, with smooth animations and accessibility features.
Live Demo
Dark Mode
Notifications
Auto Save
HTML & CSS Code Toggle Switch
<!-- HTML -->
<label class="toggle-switch">
<input type="checkbox" class="toggle-input">
<span class="toggle-slider"></span>
</label>
<!-- CSS -->
.toggle-switch {
[Link] 32/50
12/1/25, 11:53 AM 20 HTML/CSS Practical Examples
position: relative;
display: inline-block;
width: 60px;
height: 30px;
}
.toggle-input {
opacity: 0;
width: 0;
height: 0;
}
.toggle-slider {
position: absolute;
cursor: pointer;
top: 0;
left: 0;
right: 0;
bottom: 0;
background-color: #ccc;
transition: .4s;
border-radius: 34px;
}
.toggle-slider:before {
position: absolute;
content: "";
height: 22px;
width: 22px;
left: 4px;
bottom: 4px;
background-color: white;
transition: .4s;
[Link] 33/50
12/1/25, 11:53 AM 20 HTML/CSS Practical Examples
border-radius: 50%;
}
.toggle-input:checked + .toggle-slider {
background-color: #4361ee;
}
[Link] 34/50
12/1/25, 11:53 AM 20 HTML/CSS Practical Examples
15 Breadcrumb Navigation
A breadcrumb trail showing the user's location in a website hierarchy with separators.
Live Demo
Home / Products / Electronics / Smartphones
HTML & CSS Code Breadcrumb
<!-- HTML -->
<nav class="breadcrumb-nav">
<ol class="breadcrumb">
<li class="breadcrumb-item">
<a href="#">Home</a>
<span class="separator">/</span>
</li>
<li class="breadcrumb-item">
<a href="#">Products</a>
<span class="separator">/</span>
</li>
<li class="breadcrumb-item active">
<a href="#">Details</a>
</li>
</ol>
[Link] 35/50
12/1/25, 11:53 AM 20 HTML/CSS Practical Examples
</nav>
<!-- CSS -->
.breadcrumb {
display: flex;
align-items: center;
padding: 0;
margin: 0;
list-style: none;
}
.breadcrumb-item {
display: flex;
align-items: center;
}
.breadcrumb-item a {
color: #4361ee;
text-decoration: none;
padding: 8px 15px;
border-radius: 5px;
transition: 0.3s;
}
.[Link] a {
color: #6c757d;
pointer-events: none;
}
[Link] 36/50
12/1/25, 11:53 AM 20 HTML/CSS Practical Examples
16 Badge Component
Status badges with various colors and styles for notifications, labels, and status indicators.
Live Demo
Primary Success Warning Danger Pill 3 Notifications
HTML & CSS Code Badge Component
<!-- HTML -->
<span class="badge badge-primary">Primary</span>
<span class="badge badge-success">Success</span>
<span class="badge badge-pill">Pill</span>
<!-- CSS -->
.badge {
display: inline-block;
padding: 6px 15px;
border-radius: 50px;
font-size: 0.85rem;
font-weight: 600;
text-align: center;
}
[Link] 37/50
12/1/25, 11:53 AM 20 HTML/CSS Practical Examples
.badge-primary {
background: rgba(67, 97, 238, 0.15);
color: #4361ee;
border: 1px solid rgba(67, 97, 238, 0.3);
}
.badge-success {
background: rgba(76, 201, 240, 0.15);
color: #2a9d8f;
}
.badge-pill {
padding: 5px 12px;
border-radius: 50px;
}
[Link] 38/50
12/1/25, 11:53 AM 20 HTML/CSS Practical Examples
17 Custom Checkbox & Radio
Styled checkbox and radio buttons with custom designs that maintain accessibility.
Live Demo
Checkboxes
Option 1
Option 2
Option 3
Radio Buttons
Option A
Option B
Option C
HTML & CSS Code Custom Checkbox
[Link] 39/50
12/1/25, 11:53 AM 20 HTML/CSS Practical Examples
<!-- HTML -->
<label class="custom-checkbox">
<input type="checkbox">
<span class="checkmark"></span>
Option text
</label>
<!-- CSS -->
.custom-checkbox {
display: flex;
align-items: center;
cursor: pointer;
}
.custom-checkbox input {
position: absolute;
opacity: 0;
width: 0;
height: 0;
}
.checkmark {
display: inline-block;
width: 22px;
height: 22px;
border: 2px solid #ccc;
border-radius: 5px;
margin-right: 12px;
position: relative;
transition: all 0.3s;
}
.custom-checkbox input:checked ~ .checkmark {
[Link] 40/50
12/1/25, 11:53 AM 20 HTML/CSS Practical Examples
background: #4361ee;
border-color: #4361ee;
}
.checkmark:after {
content: "";
position: absolute;
display: none;
left: 7px;
top: 3px;
width: 6px;
height: 10px;
border: solid white;
border-width: 0 2px 2px 0;
transform: rotate(45deg);
}
[Link] 41/50
12/1/25, 11:53 AM 20 HTML/CSS Practical Examples
18 Tab Navigation
A tabbed interface for organizing content into multiple panels with smooth transitions.
Live Demo
Overview Settings History
Overview
This is the overview content. Here you can see a summary of all important
information and key metrics related to your account or project.
HTML & CSS Code Tab Navigation
<!-- HTML -->
<div class="tabs-container">
<div class="tabs">
<button class="tab-btn active">Tab 1</button>
<button class="tab-btn">Tab 2</button>
<button class="tab-btn">Tab 3</button>
</div>
<div class="tab-content active">
<p>Tab 1 content...</p>
[Link] 42/50
12/1/25, 11:53 AM 20 HTML/CSS Practical Examples
</div>
</div>
<!-- CSS -->
.tabs {
display: flex;
border-bottom: 2px solid #e9ecef;
}
.tab-btn {
padding: 15px 30px;
background: none;
border: none;
font-weight: 600;
color: #6c757d;
cursor: pointer;
position: relative;
}
.[Link] {
color: #4361ee;
border-bottom: 3px solid #4361ee;
}
.tab-content {
display: none;
padding: 25px;
background: #f8f9fa;
border-radius: 10px;
}
.[Link] {
[Link] 43/50
12/1/25, 11:53 AM 20 HTML/CSS Practical Examples
display: block;
}
[Link] 44/50
12/1/25, 11:53 AM 20 HTML/CSS Practical Examples
19 Footer Component
A comprehensive footer with columns, links, social icons, and copyright information.
Live Demo
Company Support Connect
About Us Help Center
Careers Contact Us
Blog Privacy Policy
Press Terms of Service
© 2023 Your Company. All rights reserved.
HTML & CSS Code Footer Component
<!-- HTML -->
<footer class="site-footer">
[Link] 45/50
12/1/25, 11:53 AM 20 HTML/CSS Practical Examples
<div class="footer-content">
<div class="footer-column">
<h3>Company</h3>
<ul class="footer-links">
<li><a href="#">About Us</a></li>
<!-- More links -->
</ul>
</div>
<div class="footer-bottom">
<p>© 2023 Company Name</p>
</div>
</div>
</footer>
<!-- CSS -->
.site-footer {
background: linear-gradient(135deg, #3a0ca3, #4361ee);
color: white;
}
.footer-content {
display: grid;
grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
gap: 30px;
padding: 40px;
}
.footer-links a {
color: rgba(255,255,255,0.8);
text-decoration: none;
transition: 0.3s;
}
[Link] 46/50
12/1/25, 11:53 AM 20 HTML/CSS Practical Examples
.footer-bottom {
background: rgba(0,0,0,0.2);
padding: 20px 40px;
text-align: center;
}
[Link] 47/50
12/1/25, 11:53 AM 20 HTML/CSS Practical Examples
20 Timeline Component
A vertical timeline showing events or steps in chronological order with icons and dates.
Live Demo
January 2023
Project Launch
Successfully launched the initial version of our product with core
features and basic functionality.
March 2023
Growth Phase
Achieved significant user growth and implemented user-requested
features based on feedback.
June 2023
[Link] 48/50
12/1/25, 11:53 AM 20 HTML/CSS Practical Examples
Award Recognition
Received industry recognition and awards for innovation and user
experience excellence.
HTML & CSS Code Timeline
<!-- HTML -->
<div class="timeline">
<div class="timeline-item">
<div class="timeline-icon">
<i class="fas fa-rocket"></i>
</div>
<div class="timeline-content">
<div class="timeline-date">Jan 2023</div>
<h3>Project Launch</h3>
<p>Project description...</p>
</div>
</div>
</div>
<!-- CSS -->
.timeline {
position: relative;
padding: 20px 0;
}
.timeline::before {
content: '';
position: absolute;
[Link] 49/50
12/1/25, 11:53 AM 20 HTML/CSS Practical Examples
left: 20px;
top: 0;
bottom: 0;
width: 4px;
background: #4361ee;
}
.timeline-item {
position: relative;
padding-left: 60px;
margin-bottom: 40px;
}
.timeline-icon {
position: absolute;
left: 10px;
top: 0;
width: 30px;
height: 30px;
border-radius: 50%;
background: #4361ee;
color: white;
display: flex;
align-items: center;
justify-content: center;
}
[Link] 50/50