//by passing the object of css properties will work
$("selector").css({"background-color": "green", "font-size": "14px"});
Code Example |
---|
Css :: display inline-block not working |
Css :: remove border svg |
Css :: Applying an ellipsis with css |
Css :: set background image and color both |
Css :: @keyframes |
Css :: how to make div width auto adjust |
Css :: round 2 corners of div css |
Css :: centre align in position absolute |
Css :: how to set fallback font in css |
Css :: css nth element |
Css :: not checked css |
Css :: style direction |
Css :: font gap css |
Css :: jquery change css variiable value |
Css :: css n number of lines only |
Css :: positioning button inside div |
Css :: button css |
Css :: css border width |
Css :: convert firebase created_at to Date string |
Css :: crop image instead of resize css |
Css :: scss percentage |
Css :: svg stroke color |
Css :: import google fonts into react |
Css :: css prevent new line div |
Css :: superscript css |
Css :: Link design like a Button" |
Css :: object-position |
Css :: how to create a shape in css |
Css :: make input invisible but clickable css |
Css :: justify second line of ul |