jilldiane_ Posted March 18, 2021 Share Posted March 18, 2021 Is it possible to add custom css and html and JS all in the same code block? i want to add js animation to a new html div, using css as well. i dont have a site yet just a general question. Link to comment
ErikaT Posted March 18, 2021 Share Posted March 18, 2021 Yup, you can do that. When I was testing with my FAQ accordion I had divs, JS and CSS styling all working fine within a single code block on one page. I then hide all my code blocks (the space they use) by removing the padding site wide: //Remove Padding from ALL code blocks .code-block { padding: 0!important;} Link to comment
Recommended Posts
Archived
This topic is now archived and is closed to further replies.