.down {
transform: rotate(45deg);
-webkit-transform: rotate(45deg);
}
.arrow {
border: solid black;
border-width: 0 3px 3px 0;
display: inline-block;
padding: 30px;
}
<p>Down arrow: <i class="arrow down"></i></p>
Looking to align the text and arrow on the same line, with "down arrow" centered while the arrow is on the far right. Struggling to achieve this layout as a beginner in web development. Currently learning HTML, CSS, and starting JavaScript. Attempted using margin: left 200px; but it's not giving the desired result. Any assistance would be greatly appreciated.