Practice CSS 2

 

HTML:<!DOCTYPE html>

<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>Document</title>
    <link rel="stylesheet" href="facebook.css">
</head>
<body>
  <h1> Facebook</h1>
  <div>
    <button id="Register">Log In</button>
    <button id="Register">Sign Up</button>
   
  </div>
 
  <hr>
  <div>
  Search
  <input type="text" placeholder="Search your friends">
  <button id="Search">Search</button>
  </div>


   
</body>
</html>

CSS:*

    *{
font-family: Cambria, Cochin, Georgia, Times, 'Times New Roman', serif;
}




h1 {
    color: #1b74e4;
}
#Register{
    background-color: aqua;
}
#Search{
    background-color: black;
    color: white;
}


Comments