Thursday, 27 May 2021

Button effect CSS

 

<!DOCTYPE html>
<html lang="en">

<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>Button effect</title>
    <style>
        .container {
            width900px;
            border3px solid black;
            margin15px auto;
            padding5px 10px;
            background-colorrgb(248236236);
        }

        a {
            text-decorationnone;
            colorwhite;

        }

        a:hover {
            coloryellow;
        }

        a:active {
            background-colorgreen;
        }

        a:visited {
            background-colorindigo;
        }

        .btn {
            border2px solid black;
            border-radius3px;
            cursorpointer;
            background-colorred;
            padding5px;
            font-size12px;
            font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Open Sans''Helvetica Neue'sans-serif;
            colorwhite;
        }

        .btn:hover {
            coloryellow;
            border3px solid black;
        }

        .btn:active {
            background-colorgreen;
        }
    </style>
</head>

<body>
    <div class="container">
        <h2>This is my frist blog</h2>
        <p id="containerpara" class="para">Lorem ipsum dolor sit amet consectetur adipisicing elit. Earum illum laborum,
            officiis neque alias necessitatibus saepe eius quidem. Ipsam exercitationem sit obcaecati quas consequatur
            similique recusandae veniam, dolor doloremque tenetur illo fugit error nihil?</p>
        <a href="Https://Linkedin.com " target="_blank" class="btn">Read more</a>
        <button class="btn">Next</button>

    </div>
</body>

</html>

No comments:

Python if / else

 Python if / else a1 = int ( input (" Enter the number: \n ")) a2 = int ( input (" Enter the number: \n ")) a3 = int ( i...