Styling the Element State (Pseudo-Classes) and Parts (Pseudo-Elements) in Bricks Builder

In this video, Thomas from Bricks introduces us to the concept of pseudo classes and pseudo elements in CSS and demonstrates how to apply different styles to specific element states and parts using these features.

With the release of Bricks 1.3.5, users can now add pseudo classes and pseudo elements themselves, enhancing customization options.

Thomas begins by explaining the significance of pseudo classes and pseudo elements, emphasizing their impact on element styling. While he doesn't cover all available selectors, he provides links to Mozilla.org articles for further reference.

Next, Thomas demonstrates how to use pseudo classes, focusing on the hover state and the visited state for links. He showcases how to add custom styles to elements when hovered over or visited, offering examples of CSS filters and transitions for visual effects.

Moving on to pseudo elements, Thomas shows how to style specific parts of elements, such as the first letter or the first line of text. He illustrates how to create and apply styles to these pseudo elements, providing examples of typography and color adjustments.

Throughout the tutorial, Thomas utilizes Bricks' intuitive interface to toggle between editing modes and apply styles to elements effectively. By the end of the video, viewers gain a clear understanding of how to leverage pseudo classes and pseudo elements to enhance element styling in their web projects using Bricks.

Related posts

Bricks – Menu Builder

In the video, the new Menu Builder available in Bricks 1.8 is introduced, consisting of five new elements designed to create customizable, responsive, and accessible navigation menus. These elements include…

View post

Code Execution, Review and Signatures – Bricks Version 1.9.7

The video outlines significant security updates introduced in Bricks version 1.9.7, aimed at safeguarding websites built with Bricks. It specifically targets users utilizing features such as the code element, SVG…

View post

Bricks Builder – Query Sort, Filter and Live Search (Experimental Version)

The video introduces a new Bricks Builder feature called the “Query, Sort Filter” in Bricks 1.9.6, aimed at simplifying product filtering in online stores. It highlights the capability to sort…

View post