Classwork 7_3

In this example below you will see how to do a Classwork 7_3 with some HTML / CSS and Javascript

Thumbnail
This awesome code was written by RDJ36, you can see more from this user in the personal repository.
You can find the original code on Codepen.io
Copyright RDJ36 ©
  • HTML
  • CSS
<!DOCTYPE html>
<html lang="en" >

<head>
  <meta charset="UTF-8">
  <title>Classwork 7_3</title>
  
  
  
      <link rel="stylesheet" href="css/style.css">

  
</head>

<body>

  <div class = "left">left</div>
<div class = "right"> right</div>
  
  

</body>

</html>

/*Downloaded from https://www.codeseek.co/RDJ36/classwork-7_3-bwmOWQ */
div{
  display: inline-block;
  width: 300px;
  height: 300px;
  border: 1px solid black;
}

@media screen and (max-width: 700px){
  .right{
    display: none;
  }
}

Comments