Lecture 23 Morning

 Index.html

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

<head>
    <meta charset="UTF-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>Document</title>
    <link href="https://cdn.jsdelivr.net/npm/bootstrap@5.1.3/dist/css/bootstrap.min.css" rel="stylesheet"
        integrity="sha384-1BmE4kWBq78iYhFldvKuhfTAU6auU8tT94WrHftjDbrCEXSU1oBoqyl2QvZ6jIW3" crossorigin="anonymous">
    <link rel="stylesheet" href="css/style.css">
</head>

<body>

    <div class="container">
        <div class="rec bg-black m-auto mt-4 border-success border-5 border border-top-0 shadow-lg">

        </div>

        <br>

        <button class="btn btn-danger">Hello world</button>
        <button class="btn  btn-outline-danger">Hello world</button>
        <button class="btn btn-link">Hello world</button>

        <a class="btn btn-info text-white" href="">Click me</a>
        <div class="btn btn-dark" onclick="alert('Hello i am Something')">Hello world</div>


    </div>

</body>

</html>

Style.css

.rec {
  height: 400px;
  width: 400px;
  background-image: url("../../../images/profile.jpg");
  background-size: cover;
  background-position: center;
}

Comments