I want to make some div blocks to go right after the previous one, but here's what I get: instead of staying next to each other, each block starts from a new line.
div.change {
width: 200px;
height: 200px;
background-color: green;
display: inline-block
}
div.change.one {
opacity: 0.7;
}
div.change.two {
opacity: 0.5;
}
div.change.three {
opacity: 0.3;
}
div p {
text-align: center;
padding: 80px 5px
}
<div class="change">
<div class="change one">
<p>here</p>
</div>
<div class="change two">
<p>here</p>
</div>
<div class="change three">
<p>here</p>
</div>
</div>