Simple but very nice and easy way to make a text divider.
It's fully responsive and it only requires one Div and 2 pseudo-classes.
And it's all about the flex-grow CSS property.
Source: This great tip from CodyHouse
Add a Section
Add a heading element (or a text element) and change the settings :
Select the pseudo-class :before
Change the background color and change the height you want:
And then, for the most important part, set the Flex Grow to 1
Repeat the same step for the pseudo class :after
And then you will get a simple and a totally responsive Text Divider :
COOL STUFF MAN
You can just play with the settings, adding some margins, changing the flex-grow, the width, the background colors...
Efficiently administrate enterprise-wide paradigms and premier methodologies. Collaboratively promote adaptive relationships via one-to-one content. Objectively communicate competitive services rather than enterprise methodologies. Progressively implement alternative schemas vis-a-vis superior process improvements. Conveniently.
Authoritatively extend parallel collaboration and idea-sharing rather than multimedia based bandwidth. Monotonectally unleash collaborative collaboration and idea-sharing via superior e-services. Energistically.
Progressively morph cross functional metrics with strategic e-commerce. Progressively brand long-term high-impact e-tailers and superior e-services. Collaboratively conceptualize bleeding-edge portals through cross-platform technology. Authoritatively visualize wireless technology through focused customer service. Collaboratively maximize superior ROI before one-to-one strategic theme areas.