About 3,450,000 results
Open links in new tab
  1. javascript - How to change CSS using jQuery? - Stack Overflow

    The jQuery .css () method allows the use of either DOM or CSS notation in many cases. So, both backgroundColor and background-color will get the job done. Additionally, when you call .css() …

  2. How to define multiple CSS attributes in jQuery?

    This is the first hit on google for "defining multiple css properties jQuery" and anyone searching it has the potential to be inconvenienced by this missing information.

  3. How to remove css property in jQuery - Stack Overflow

    As mentioned in the jquery documentation: Setting the value of a style property to an empty string — e.g. $ ('#mydiv').css ('color', '') — removes that property from an element if it has already …

  4. javascript - jquery if (css_attribute = value) - Stack Overflow

    May 27, 2012 · The above sample will only work for the first element in the JQuery selector, therefore you should use the .each JQuery method to iterate through the whole selector if you …

  5. jQuery & CSS - Remove/Add display:none - Stack Overflow

    The only way to remove an inline "display:none" via jQuery's css-api is by resetting it with the empty string (null does NOT work btw!!). According to the jQuery docu this is the general way …

  6. Change CSS variable using jQuery - Stack Overflow

    Is it possible to change a variable used in CSS using jQuery? Simple example:

  7. jQuery rotate/transform - Stack Overflow

    I'd like to use this function to rotate then stop at a particular point or degree. Right now the element just rotates without stopping. Here's the code: <script type="text/javascript"> ...

  8. How to apply !important using .css ()? - Stack Overflow

    Apr 17, 2010 · Possible duplicate of Overriding !important with css or jquery -- While this one is older, and more highly voted, the other one's got the clearest, most valuable answer.

  9. jQuery toggle CSS? - Stack Overflow

    I want to toggle between CSS so when a user clicks the button (#user_button) it shows the menu (#user_options) and changes the CSS, and when the user clicks it again it goes back to …

  10. Setting background-image using jQuery CSS property

    3 Don't forget that the jQuery css function allows objects to be passed which allows you to set multiple items at the same time. The answered code would then look like this: …