Here is my custom style:
<style>
ul {
padding:0 0 0 0;
margin:0 0 0 0;
}
ul li {
list-style:none;
margin-bottom:25px;
}
ul li img {
cursor: pointer;
}
.modal-body {
padding:5px !important;
}
.modal-content {
border-radius:0;
}
.modal-dialog img {
text-align:center;
margin:0 auto;
}
.controls{
width:50px;
display:block;
font-size:11px;
padding-top:8px;
font-weight:bold;
}
.next {
float:right;
text-align:right;
}
/*override modal for demo only*/
.modal-dialog {
max-width:500px;
padding-top: 90px;
}
@media screen and (min-width: 768px){
.modal-dialog {
width:500px;
padding-top: 90px;
}
}
@media screen and (max-width:1500px){
#ads {
display:none;
}
}
.dock {
border: 4px dotted #cccccc;
background-color: #ededed;
width: 600px;
height: 300px;
color: #aaa;
font-size: 18px;
text-align: center;
padding-top: 100px;
}
.dock_hover {
border: 4px dotted #4d90fe;
background-color: #e7f0ff;
width: 600px;
height: 300px;
color: #4d90fe;
font-size: 18px;
text-align: center;
padding-top: 100px;
}
</style>
And I'm looking to modify
ul li {
list-style:none;
margin-bottom:25px;
}
I want to change the margin-bottom property to 0px using a unique class for ul li.
<ul class="row">
<li class="col-lg-3 col-md-3 ">
<img class="img-responsive" src="images/photodune-174908-rocking-the-night-away-xs.jpg">
</li>
<li class="col-lg-3 col-md-3 ">
<img class="img-responsive" src="images/photodune-287182-blah-blah-blah-yellow-road-sign-xs.jpg">
</li>
<li class="col-lg-3 col-md-3 ">
<img class="img-responsive" src="images/photodune-460760-colors-xs.jpg">
</li>
</ul>
Is it feasible to update the margin-bottom property to 0px for ul li element using a specific class? I've referred to css style modification for single page but require assistance in implementing it.
Here is the current appearance with margin-bottom:0px https://i.sstatic.net/nSJZV.png
And here is the current appearance with margin-bottom:25px https://i.sstatic.net/NUYgu.png
I aim to adjust the image layout with margin-bottom:25px while keeping the default page unaltered. Below is the complete source code of my webpage:
<!DOCTYPE html>
<?php include('akses.php'); ?>
<html lang="en">
<head>
...
</head>
<body>
...
</body>
</html>