Home >Web Front-end >JS Tutorial >JQuery CSS style control study notes_jquery
Not much to say about jQuery. This is a function library of JS that is relatively commonly used. Today we will summarize the three operations of jQuery for css
$(selector).css("name","value" )
$(selector).css({properties})
$(selector).css(name)
$(selector).css("name","value") is given for all elements CSS property setting value:
Look at the code I just wrote below
When the background of this text turns red, the size will become twice as large