How to align in my image to move it vertically up (CSS, HTML)?

The main question is CSS / HTML. As shown in my screenshot, there is an image of an arrow on the left, I want to move it so that the midpoint of the arrow is slightly higher than the midpoint of the text following it. This may be the main stuff, but what property in css will help me do this?

I have a css class for an image something like this.

<img src="images/block_arrow.png" class="t-image imagestyle1" alt="image"/> 

Thanks Adarsh

Screen shot

+6
source share
1 answer

Add the following css ..

 .t-image { position: relative /* Declared position allows for location changes */ top: -2px; /* Moves the image 2px closer to the top of the page */ } 
+12
source

Source: https://habr.com/ru/post/901277/


All Articles