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

Using Scroll Snap in Bricks Builder

The video introduces the scroll snapping feature in Bricks by comparing it to the functionality seen on popular websites like warespoland.com and tesla.com. It demonstrates how to implement scroll snapping…

View post

Echo Tag & ChatGPT Guide for Bricks Builder

The video explains a process for developing custom PHP code in Bricks to display the total number of WooCommerce orders for each logged-in user. It emphasizes the importance of understanding…

View post