News

styles for a class can be applied across a range of elements. In the last example, the first paragraph was assigned a unique id and the related style was applied using the CSS # selector.
The files you’ll need to follow along in this tutorial, including html, css, script ... to toggle between adding and removing one or more classes for the selected elements.
Most components include a CSS class field that will add its value to the wrapper div or other containing element. There is a collection of default styles that are available to all SFU websites on AEM.