File size: 878 Bytes
6d584c3
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
<style>
    body {
        display: flex;
        justify-content: center;
        align-items: center;
        height: 100vh;
    }

    #logo {
        font-family: "Poppins", sans-serif;
        display: flex;
        align-items: end !important;
        position: relative;
    }

    .text {
        font-size: 50px;
        color: transparent;
        text-transform: capitalize;
        -webkit-text-stroke: 1.5px #ff036f50;
    }

    .text::before {
        content: attr(data-fill-text);
        position: absolute;
        width: 0;
        height: 100%;
        color: #ffffff;
        overflow: hidden;
        -webkit-text-stroke: 0px transparent;
        transition: width 1s cubic-bezier(0.165, 0.84, 0.44, 1);
    }

    .text:hover::before {
        width: 100%;
    }
</style>

<div id="logo">
    <h2 class="text" data-fill-text="SwiftML">SwiftML</h2>
</div>