Adjusting image size in list-style-image property | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
+ 2

Adjusting image size in list-style-image property

How can I adjust the size of my image in list-style-image property? The image I inserted is too big and I don't know how to make it small. Thanks in advance for anyone will answer this question.

16th Apr 2018, 8:43 AM
A.J. Velasco
A.J. Velasco - avatar
1 Answer
+ 4
You can use a pseudo-class like this: li:before { /* add custom height and width */ } Here is an example: https://code.sololearn.com/WZQ5XKMEDwkO/?ref=app
16th Apr 2018, 9:00 AM
777
777 - avatar