Now i am going to tell you how to create call to action section to website with the help of simple html and css code and Bootstrap. This is very simple and easy, Every website contain this types of call to action section. This call to action section very important to get the leads or customer interaction.
when click the call to action button (CTA) it takes the important actions like Signup form or feedback forms and etc.. So we have to highlight that particular section. I hope this is very helpful. Here i provided the demo page and download link. Please checkout the links.
Code for Simple Call to Action Section:
<html>
<head>
<title>Simple Call to Action Button</title>
<link rel="stylesheet" href="https://stackpath.bootstrapcdn.com/bootstrap/4.1.3/css/bootstrap.min.css">
<style>
.call_to_action_container
{
width:100%;
padding:30px;
background-color:#fb5b21;
}
h3{
color:#fff;
font-size:30px;
text-transform:uppercase;
margin-top:10px;
}
.btn
{
border-color:#fff;
border-radius:3px;
background-color:#fff;
color:#000;
padding: 12px 25px;
}
.btn:hover
{
color:#fb5b21;
}
</style>
</head>
<body>
<div class="container-fluid call_to_action_container">
<div class="row">
<div class="col-md-2"> </div>
<div class="col-md-6">
<h3>Do you want discount?</h3></div>
<div class="col-md-2"><a href="#" class="btn warning">Get Discount</a></div>
<div class="col-md-2"> </div>
</div>
</div>
</body>
</html>
<head>
<title>Simple Call to Action Button</title>
<link rel="stylesheet" href="https://stackpath.bootstrapcdn.com/bootstrap/4.1.3/css/bootstrap.min.css">
<style>
.call_to_action_container
{
width:100%;
padding:30px;
background-color:#fb5b21;
}
h3{
color:#fff;
font-size:30px;
text-transform:uppercase;
margin-top:10px;
}
.btn
{
border-color:#fff;
border-radius:3px;
background-color:#fff;
color:#000;
padding: 12px 25px;
}
.btn:hover
{
color:#fb5b21;
}
</style>
</head>
<body>
<div class="container-fluid call_to_action_container">
<div class="row">
<div class="col-md-2"> </div>
<div class="col-md-6">
<h3>Do you want discount?</h3></div>
<div class="col-md-2"><a href="#" class="btn warning">Get Discount</a></div>
<div class="col-md-2"> </div>
</div>
</div>
</body>
</html>
0 Comments