$('.colors-list li').click(function(e){
var color = $(this).text();
$('.results').css('background-color',color);
});
Code Example |
---|
Css :: when hover target diffrent element |
Css :: how to add fanctoin to links in css |
Css :: center item |
Css :: pointer events none and cursor not allowed |
Css :: margin for text in html |
Css :: z pos css |
Css :: css hero image |
Css :: how to prevent select image in css |
Css :: center li in ul css |
Css :: stop padding from changing div size |
Css :: is better use px or pt |
Css :: text wrap |
Css :: input disabled remove css |
Css :: sass watch in all your project automatically |
Css :: Applying an ellipsis with css |
Css :: how to make div width auto adjust |
Css :: id starts with css |
Css :: css nth element |
Css :: css blur border |
Css :: how to set a div size to full screen |
Css :: image rendering css |
Css :: positioning button inside div |
Css :: css position fixed center |
Css :: text gradient effect |
Css :: can we use multiple keyframes in css |
Css :: center an image |
Css :: align-self in css |
Css :: css variable |
Css :: @supports css |
Css :: how to rotate image in css |