#nav ul li:hover ul li a:hover {
background-color: #ebebeb;
}
.img_container {
text-align: center;
}
Another way of doing this:img {
display: block;
margin: 0 auto;
}
https://youtu.be/jiA7BRTL1A0?t=201div.inner {
width: 700px;
margin: auto;
}
img {
max-width: 100%;
height: auto;
}
@media screen and (max-width: 500px) {
div.mobile-collapse {
width: auto;
float: none;
margin-right: 0;
}
}
@media screen and (max-width: 500px) {
.hide-mobile {
display: none;
}
}
nav ul li {
width: 25%;
border-bottom: 1px solid #bababa;
}
@media screen and (max-width: 620px) {
nav ul li {
width: 33%;
}
}
@media screen and (max-width: 500px) {
nav ul li {
width: 50%;
font-size: 120%;
}
}