How to keep :active css style after click a button

后端 未结 3 1544
不知归路
不知归路 2020-12-08 00:44

Once the button is clicked I want it to stay with the active style instead of going back to normal style. Can this be done with CSS please? Im using blurb button from DIVI

3条回答
  •  太阳男子
    2020-12-08 01:11

    In the Divi Theme Documentation, it says that the theme comes with access to 'ePanel' which also has an 'Integration' section.

    You should be able to add this code:

    
    

    into the the box that says 'Add code to the head of your blog' under the 'Integration' tab, which should get the jQuery working.

    Then, you should be able to style your class to what ever you need.

提交回复
热议问题