Multiplayer Piano Community Forum
    • Categories
    • Unread
    • Recent
    • Tags
    • Popular
    • Users
    • Groups
    • Admin
    • Register
    • Login

    the code for this heading seen in first img

    Scheduled Pinned Locked Moved Blog
    2 Posts 1 Posters 24 Views
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • Rēsh-1R
      Rēsh-1 🍞
      last edited by

      e35a4d80-a039-4b22-830c-85a2ef805be4-image.png

      i stole this shit from the oceanbound theme

      o <-- yaser, help 'em out

      Rēsh-1R 1 Reply Last reply Reply Quote 0
      • Rēsh-1R
        Rēsh-1 🍞 @Rēsh-1
        last edited by

        <h1>test</h1>
        
        <style>
        
        /* credits to EstrellaYoshite for the heading + theme ref */
        
        :root {
         --heading-mask: url("data:image/svg+xml;charset=utf8,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 12 12'%3E%3Cpath d='M1 6a5 5 0 0 0 5-5 5 5 0 0 0 5 5 5 5 0 0 0-5 5 5 5 0 0 0-5-5z' style='fill:none;stroke:%23000;stroke-width:.6;stroke-linecap:round;stroke-linejoin:round;stroke-miterlimit:10;stroke-opacity:1;stroke-dasharray:none'/%3E%3C/svg%3E");
        } /* yes you'll need a heading mask for this, which is the sparkle seen next to the name */
        
        h1 {
            display: flex;
            align-items: center;
            column-gap: 0.325rem;
            color: #000;
            font-family: 'Arial', sans-serif;
            font-weight: bold;
            font-size: 2.675em;
            line-height: 1;
            padding-bottom: 0;
            border-bottom: none;
            margin-bottom: 0.425em;
        }
        :is(h1)::before,
        :is(h1)::after {
            content: "";
            display: block;
            height: 0.1rem;
            min-width: 2.5rem;
            flex-grow: 1;
            background: currentColor;
            order: 1;
        }
        :is(h1)::before {
            flex-grow: 0;
            width: 1.75rem;
            min-width: 1.75rem;
            height: 1.75rem;
            -webkit-mask-image: var(--heading-mask);
            -webkit-mask-repeat: no-repeat;
            -webkit-mask-size: contain;
            -webkit-mask-position: center;
            mask-image: var(--heading-mask);
            mask-repeat: no-repeat;
            mask-size: contain;
            mask-position: center;
        }
        
        </style>
        

        o <-- yaser, help 'em out

        1 Reply Last reply Reply Quote 0
        • First post
          Last post
        your_search_history_scares_meY ClasyC

        2

        Online

        1.0k

        Users

        63.6k

        Topics

        557.7k

        Posts
        Powered by NodeBB | Contributors