CSS | HTML | Result |
---|---|---|
a[href^='http://mysite'] { color:red; } | <a href='http://othersite.com'>othersite.com</a> <a href='http://mysite.com'>mysite.com</a> |
othersite.com. mysite.com. |
img[src$='.png'] { box-shadow:4px 4px 4px #888; } | <img src='frowney.jpg'> <img src='smiley.png'> |
![]() ![]() |
a[href*='google'] { border-bottom-style:dotted; } | <a href='http://google.com'>Google</a> <a href='http://gmail.com'>GMail</a> |
Google GMail |