Jump to content

How do you do Text Overlap, without individual Spans?


Recommended Posts

https://codingartistweb.com/2021/11/overlap-text-effect-with-html-and-css/

This is not an advert, I Want to know if I can create this effect, but without many many Spans down the page.
So I can create a slogan, and apply this effect to it.

Is that possible??

overlap-01-696x391.png

Again, with svg we can add the text shadow and letter spacing

<div style='background-color: black; text-align: center;'>
    <svg width='380' height='80' viewBox='0 0 380 80'>
        <defs>
        <style type='text/css'>
            .olap {
                font-family: "arial black";
                font-size: 60pt;
                letter-spacing: -15px;
                fill: #fff; 
                text-shadow: -0.08em 0.03em 0.12em rgba(0, 0, 0, 0.7);
            }
        </style>
        </defs>
        <text class='olap' x='190' y='70' text-anchor='middle' >OVERLAP</text>
    </svg>
</div>

image.png.9543f23f7ff76a93bc4f357b895c251c.png

  • Great Answer 1
This thread is more than a year old. Please don't revive it unless you have something important to add.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.