Add to a css class using JQuery

后端 未结 6 2180
不知归路
不知归路 2020-12-11 03:14

Is it possible to add/update a css class using JQuery.

I know I can add css to a DOM element using this add css rule using jquery, but I would like to add/remove fro

6条回答
  •  伪装坚强ぢ
    2020-12-11 03:56

    1. I have best example of how to apply CSS class in multiple tags.
    2. First create simple html page and inside write down your css.
    3. Next you create simple Query and and apply custom css.
    4. Now if you want apply which tag or attributes css using JQuery.
    5. When I write down this code to easily understand

      Code:

      
        
          
            
          
      
                   
      
        

      This is example

      This is example

      Some important message

提交回复
热议问题