How creative we can be with CSS?

Vaibhav Rai
Jan 8, 2023

Recently I came across an idea where I wanted the text to glow i.e., something like the below which makes us feel like we are somewhere in space, or that space feeling of star wars.

What to notice here is to check the character “C” I wanted something which only glows the space of the block character is taking not the whole block but how, how we can achieve this?

After spending hours, the solution was quite simple with a quite few steps

- Create a Block wrapper element with relative positioning
- Create a block with the words you want to glow.
- Copy the same word block with positioning as an absolute and add a filter with blur value, if you want, you can scale it further.

Below is the demo of the above step.

Yep, that’s all

Sign up to discover human stories that deepen your understanding of the world.

Free

Distraction-free reading. No ads.

Organize your knowledge with lists and highlights.

Tell your story. Find your audience.

Membership

Read member-only stories

Support writers you read most

Earn money for your writing

Listen to audio narrations

Read offline with the Medium app

Responses (1)

Write a response

Nice work!

--