HTML/JavaScript

Impress Someone With HTML Code


 <!DOCTYPE html>

<html>

<head>

    <title>Slider Show</title>
    <style>
        body {
            background-colorrgba(2731340.85);
        }

        h1 {
            font-size2.1rem;
            line-height1.4;
            letter-spacing0.5rem;
            text-aligncenter;
            colorred;
            margin-top50px;
        }
        h3{
            
            colorpink;
        }

        p {
            colorwhite;
        }

        .maindiv {
            width30%;
            height500px;
            positionabsolute;
            left50%;
            top80%;
            transformtranslate(-50%-80%);
            background-imageurl('https://images.pexels.com/photos/2820876/pexels-photo-2820876.jpeg?auto=compress&cs=tinysrgb&dpr=2&h=650&w=940');
            background-size100% 100%;
            box-shadow1px 2px 10px 5px white;
            animation: slider 9s infinite linear;

        }

        @keyframes slider {
            1% {
                background-imageurl('https://images.pexels.com/photos/2820876/pexels-photo-2820876.jpeg?auto=compress&cs=tinysrgb&dpr=2&h=650&w=940')
            }

            40% {
                background-imageurl('https://images.pexels.com/photos/2108769/pexels-photo-2108769.jpeg?auto=compress&cs=tinysrgb&dpr=2&h=650&w=940');
            }


        }
    </style>

</head>

<body>

    <h1><span>About Your Love</span></h1>
    <p>
       <h3> Hey World's most beaatiful, cutest, sweetest and My <strong> Dear NAME.</strong> <strong>I Love You</strong>
        from the core buttom of my heart and will always love you like that. I swear,I will hold your hand till the last
        breath of my life. I will never fade smile from your face.... Our relationship is a uniqe one, altho we fight like Tom & Jerry
        But our love is like Nobita and sizuka's.
        Only yours <strong>NAME</strong></h3>
    </p>

    <div class="maindiv">



        <h1>LOVER'S IMAGE</h1>
    </div>
</body>

</html>

Post a Comment

0 Comments