Skip to content

Instantly share code, notes, and snippets.

@JahsonKim
Created August 31, 2020 15:19
Show Gist options
  • Save JahsonKim/f32cca0f31031f61b54ce0989f60bc78 to your computer and use it in GitHub Desktop.
Save JahsonKim/f32cca0f31031f61b54ce0989f60bc78 to your computer and use it in GitHub Desktop.
.header {
padding-left: 10px;
padding-right: 10px;
text-transform: uppercase;
font-weight: 800;
font-size: 18px;
}
.step-right {
padding: 2px;
position: relative;
float: left;
text-align: left;
}
.step-left {
padding: 2px;
text-align: right;
position: relative;
float: right;
}
.step-header-right {
display: flex;
margin-top: 20px;
margin-right: auto;
background-color: #D32D2D;
border-radius: 40px 40px 40px 0px;
border: 2px solid #fff;
padding: 1.7em;
height: 40px;
width: 160px;
position: relative;
align-items: center;
color: #fff;
}
.step-header-right:before {
display: flex;
margin-right: auto;
background: none;
border-radius: 40px 40px 40px 0px;
border: 2px solid #fff;
content: "";
display: block;
position: absolute;
top: 2px;
left: 2px;
right: 2px;
bottom: 2px;
pointer-events: none;
align-items: center;
color: #fff;
}
.step-header-left {
display: flex;
margin-left: auto;
background-color: #D32D2D;
border-radius: 40px 40px 0px 40px;
border: 2px solid #fff;
padding: 1.7em;
height: 40px;
width: 160px;
position: relative;
align-items: center;
color: #fff;
}
.step-header-left:before {
display: flex;
margin-left: auto;
background: none;
border-radius: 40px 40px 0px 40px;
border: 2px solid #fff;
content: "";
display: block;
position: absolute;
top: 2px;
left: 2px;
right: 2px;
bottom: 2px;
pointer-events: none;
align-items: center;
color: #fff;
}
.separator {
/* margin: auto; */
border-left: 6px dotted #5e629c;
height: 50px;
margin-left: 12px;
align-content: center;
top: 0;
}
.separator-one {
background-color: #329244;
border: 2px solid #fff;
padding: 1em;
border-radius: 35px;
width: 20px;
height: 20px;
position: relative;
/* margin: 0 auto; */
}
.separator-one:before {
background: none;
border: 2px solid #fff;
border-radius: 35px;
content: "";
display: block;
position: absolute;
top: 2px;
left: 2px;
right: 2px;
bottom: 2px;
pointer-events: none;
}
.separator-two {
background-color: #D32D2D;
border: 2px solid #fff;
padding: 1em;
border-radius: 35px;
width: 20px;
height: 20px;
position: relative;
/* margin: 0 auto; */
}
.separator-two:before {
background: none;
border: 2px solid #fff;
border-radius: 35px;
content: "";
display: block;
position: absolute;
top: 2px;
left: 2px;
right: 2px;
bottom: 2px;
pointer-events: none;
}
<!DOCTYPE html>
<html lang="en">
<head>
<!-- Required meta tags -->
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no">
<meta name="keywords" content="CSS Steps">
<meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1">
<meta name="author" content="Grayrids">
<title>CSS Steps</title>
<!-- Latest compiled and minified CSS -->
<link rel="stylesheet" href="https://stackpath.bootstrapcdn.com/bootstrap/3.4.1/css/bootstrap.min.css"
integrity="sha384-HSMxcRTRxnN+Bdg0JdbxYKrThecOKuH5zCYotlSAcp1+c8xmyTe9GYg1l9a69psu" crossorigin="anonymous">
<!-- Optional theme -->
<link rel="stylesheet" href="https://stackpath.bootstrapcdn.com/bootstrap/3.4.1/css/bootstrap-theme.min.css"
integrity="sha384-6pzBo3FDv/PJ8r2KRkGHifhEocL+1X2rVCTTkUfGk7/0pbek5mMa1upzvWbrUbOZ" crossorigin="anonymous">
<!-- Latest compiled and minified JavaScript -->
<script src="https://stackpath.bootstrapcdn.com/bootstrap/3.4.1/js/bootstrap.min.js"
integrity="sha384-aJ21OjlMXNL5UyIl/XNwTMqvzeRMZH2w8c5cRVpzpU8Y5bApTppSuUkhZXN0VxHd"
crossorigin="anonymous"></script>
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/4.7.0/css/font-awesome.min.css">
<link rel="stylesheet" href="how-to.css">
</head>
<body>
<div class="container">
<div class="row">
<div class="col-lg-12">
<div class=" text-center">
<div>
<h2 class="section-title">Getting Started</h2>
<p>
See how easy is to start using your product.
</p>
</div>
</div>
</div>
</div>
<div style=" display: flex; align-items: center; align-content: center;" class="row">
<div class="col-lg-5">
<div class="step-left">
<div style="background-color: #146614;" class="step-header-left">
<i style="font-size: 18px;" class="fa fa-search"></i>
<h6 class="header">Step 2</h6>
</div>
<p> Lorem ipsum is placeholder text commonly used in the graphic, print, and publishing
industries for previewing layouts
and visual mockups.
</p>
<div style="background-color: #D32D2D;" class="step-header-left">
<i style="font-size: 18px;" class="fa fa-tv"></i>
<h6 class="header">Step 4</h6>
</div>
<p> Lorem ipsum is placeholder text commonly used in the graphic, print, and publishing
industries for previewing layouts
and visual mockups.
</p>
</div>
</div>
<div class="col-lg-1">
<div style="background-color: #b2b200;" class="separator-one"></div>
<div class="separator"> </div>
<div style="background-color: #146614;" class="separator-two"></div>
<div class="separator"> </div>
<div style="background-color: #3232FF;" class="separator-one"></div>
<div class="separator"> </div>
<div style="background-color: #D32D2D;" class="separator-two"></div>
<div class="separator"> </div>
<div style="background-color: #141466;" class=" separator-one"></div>
</div>
<div class="col-lg-5">
<div class="step-right">
<div style="background-color: #b2b200;" class="step-header-right">
<h6 class="header">Step 1</h6>
<i style="font-size: 18px;" class="fa fa-briefcase"></i>
</div>
<p> Lorem ipsum is placeholder text commonly used in the graphic, print, and publishing
industries for previewing layouts
and visual mockups.
</p>
<div style="background-color: #3232FF;" class="step-header-right">
<h6 class="header">Step 3</h6>
<i style="font-size: 18px;" class="fa fa-home"></i>
</div>
<p> Lorem ipsum is placeholder text commonly used in the graphic, print, and publishing
industries for previewing layouts
and visual mockups.
</p>
<div style="background-color: #141466;" class="step-header-right">
<h6 class="header">Step 5</h6>
<i style="font-size: 18px;" class="fa fa-user"></i>
</div>
<p> Lorem ipsum is placeholder text commonly used in the graphic, print, and publishing
industries for previewing layouts
and visual mockups.
</p>
</div>
</div>
</div>
</div>
</body>
</html>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment