I'm creating a website using bootstrap framework. I have also used particle.js for the background. There are three rows in the page in which each contain 1 element. The first row contain an image, second row contain some text and the third one contain a button. I want all these to be horizontally in the center of each row. But in the output the right padding is higher than left padding. Here is my code,
<body id="particles-js" >
<div class="container-fluid">
<div class="row">
<div class="col-md-12 text-center">
<img src="images/logo2.png" class="img-responsive my-logo">
</div>
</div>
<div class="row">
<div class="col-md-8 text-center col-md-offset-2">
<h3 class="head">The Text goes Here !!!</h3>
</div>
</div>
<div class="row">
<div class="text-center col-md-4 col-md-offset-4">
<myButton>Button Text Here!</myButton>
</div>
</div>
</div>
</body>
The style I have given manually is as foloows,
<style type="text/css">
#particles-js{
background: url(images/bg11.jpg) no-repeat center center fixed;
height:100vh;
-webkit-background-size: cover;
-moz-background-size: cover;
-o-background-size: cover;
background-size: cover;
}
.container-fluid{
all: initial !important;
position: absolute !important;
top: 0 !important;
pointer-events:none !important;
}
.head{
font-family: 'Exo', sans-serif;
color:#fff;
font-size: 35px;
}
myButton {
background-color:transparent;
border:1px solid #ff0044;
display:inline-block;
cursor:pointer;
color:#ffffff;
font-family:Arial;
font-size:20px;
padding:17px 60px;
text-decoration:none;
text-shadow:0px 1px 0px #ff0044;
}
myButton:hover {
background-color:#ff0044;
}
myButton:active {
position:relative;
top:1px;
}
.my-logo{
all: initial!important;
width: auto!important;
max-height: 50vh!important;
pointer-events: none !important;
}
</style>
How can i place these contents in the center of each div?