Can you use a GIF as a <li> value? | Sololearn: Learn to code for FREE!
0

Can you use a GIF as a <li> value?

Why ... yes you can... <!DOCTYPE html> <html> <body> <style> li { margin: 0; padding: 26px 0 26px 50px; list-style: none; background-image: url("https://media.giphy.com/media/7kn27lnYSAE9O/giphy.gif"); background-repeat: no-repeat; background-position: left center; background-size: 40px; } </style> <ul> <li>go break some eggs</li> </ul> </body> </html>

27th Jul 2017, 11:25 PM
Francis Skinner
Francis Skinner - avatar
0 ответов