No video

Bricks Builder Consistent spacing with CSS variables

  Рет қаралды 1,082

WP Easy

WP Easy

Күн бұрын

This video serves as a comprehensive response to an inquiry received via my channel. The user was seeking advice on maintaining uniform and manageable gaps between sections, containers, and elements while utilizing Bricks Builder.
The tutorial demonstrates how to accomplish this through the use of global CSS variables. While the demonstration is conducted using Bricks Builder, the principles presented are rooted in basic CSS and thus, are universally applicable, regardless of the specific webpage builder you employ.

Пікірлер: 3
@zhakkasdude
@zhakkasdude Ай бұрын
Thank you, that's a very nice tutorial.
@erling5148
@erling5148 Жыл бұрын
Thanks another great one, would you mind sharing the css?
@wpeasy
@wpeasy Жыл бұрын
Sure /* Fixed spacing */ /* :root{ --section-space-block: 10rem; --section-space-inline: 1rem; --section-space-block--mobile: 5rem; --section-space-inline--mobile: 0.5rem; --content-space: 2rem; --content-space--xs: calc(0.25 * var(--content-space)); --content-space--s: calc(0.5 * var(--content-space)); --content-space--l: calc(2 * var(--content-space)); --content-space--xl: calc(3 * var(--content-space)); --container-space: calc(4 * var(--content-space)); } */ /* Clamp spacing */ :root{ --section-space-block: clamp(5rem, 1.429rem + 5.952vw, 10rem); --section-space-inline: clamp(0.5rem, 0.143rem + 0.595vw, 1rem); --section-space-inline--negative: calc(-1 * var(--section-space-inline)); --content-space: clamp(1rem, 0.286rem + 1.19vw, 2rem); --content-space--xs: calc(0.25 * var(--content-space)); --content-space--s: calc(0.5 * var(--content-space)); --content-space--l: calc(2 * var(--content-space)); --content-space--xl: calc(3 * var(--content-space)); --container-space: calc(4 * var(--content-space)); }
Scroll effect image gallery background in Elementor
6:49
Chris Good
Рет қаралды 385
SPONGEBOB POWER-UPS IN BRAWL STARS!!!
08:35
Brawl Stars
Рет қаралды 14 МЛН
ISSEI & yellow girl 💛
00:33
ISSEI / いっせい
Рет қаралды 23 МЛН
The Joker saves Harley Quinn from drowning!#joker  #shorts
00:34
Untitled Joker
Рет қаралды 71 МЛН
Unveiling my winning secret to defeating Maxim!😎| Free Fire Official
00:14
Garena Free Fire Global
Рет қаралды 8 МЛН
Create your own Bricks Builder layouts library Website
1:12:18
Bricks: Build-Your-Own Fluid Typography Framework
41:27
Dave Foy
Рет қаралды 13 М.
CSS Variables - An introduction to CSS custom properties
12:02
Kevin Powell
Рет қаралды 121 М.
Bricks Builder: CSS Variables, options, Pros, Cons
20:48
WP Easy
Рет қаралды 1,1 М.
Top 10 SNL Impressions Done in Front of the Actual Person
13:18
WatchMojo.com
Рет қаралды 7 МЛН
Bricks Builder: Starting from simple CSS Variable
35:13
Ivan Nugraha
Рет қаралды 496
Bricks Builder: Core Facet Filtering - First look - AMAZING!!
14:14
SPONGEBOB POWER-UPS IN BRAWL STARS!!!
08:35
Brawl Stars
Рет қаралды 14 МЛН