I need help on how to resize images which are used as list items in CSS | Sololearn: Learn to code for FREE!
Novo curso! Todo programador deveria aprender IA generativa!
Experimente uma aula gr√°tis
+ 1

I need help on how to resize images which are used as list items in CSS

13th Apr 2021, 6:43 PM
Ssenyonjo
Ssenyonjo - avatar
4 Respostas
13th Apr 2021, 6:48 PM
Alexander Sokolov
Alexander Sokolov - avatar
+ 3
Great question You cannot do that You cannot resize, or set position BUT!!! You can set "background" instead. Example: ul {list-style-type: none;} li { background: url("listBG.jpg"); background-size: 20px; background-repeat: no-repeat; } I hope it worked Good nightūüĎčūüĎč
13th Apr 2021, 8:21 PM
ūüáģūüáĪ Radin Masiha ūüáģūüáĪ
ūüáģūüáĪ Radin Masiha ūüáģūüáĪ - avatar
+ 1
Hi bro
13th Apr 2021, 6:46 PM
Alexander Sokolov
Alexander Sokolov - avatar
- 4
can help with my problem?
13th Apr 2021, 6:47 PM
Alexander Sokolov
Alexander Sokolov - avatar