Where Gap: 2em Explained
The code .wp-block-columns.is-layout-flex)gap: 2em;
is a CSS (Cascading Style Sheets) code that is used as an instruction to an element of design within a website. It is telling the element to have a gap, or space, of 2em between adjacent blocks of content.
In CSS, the term em is used to indicate a font size called an em square. An em square is a generic measure of text and graphic elements, with “1em” being equal to the size of the font being used. Therefore, gap: 2em;
would mean to leave a gap that’s two font sizes in size.
In the context of web design and development, .wp-block-columns.is-layout-flex)gap: 2em;
is often used when two or more elements with different heights of text or images need to be placed side-by-side. It ensures a consistent spacing between each of the elements, while still allowing them to be arranged in an aesthetically pleasing way.
What Else Should I Know?
The following should also be taken into consideration when using .wp-block-columns.is-layout-flex)gap: 2em;
within a design or website:
- It works best for small gaps – larger spaces between elements may require other instructions to be used.
- It should be used sparingly – too much space between elements can detract from the design as a whole.
- It is customisable – the gap directive can be changed from
2em
to any desired size.
For example, if a larger than usual gap of 4ems is needed between elements, the code would be changed to gap: 4em;
.
Putting It All Together
To summarise, .wp-block-columns.is-layout-flex)gap: 2em;
is a type of CSS code which is used to set a consistent gap, or space, between adjacent blocks of content within a design or website. The em value determines the size of the gap and this can be changed to any desired size. When used sparingly and appropriately, the gap directive can ensure elements line up neatly, while still looking aesthetically pleasing.

Welcome to my jewelry blog! My name is Sarah and I am the owner of this blog.
I love making jewelry and sharing my creations with others.
So whether you’re someone who loves wearing jewelry yourself or simply enjoys learning about it, be sure to check out my blog for insightful posts on everything related to this exciting topic!