dafna

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

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

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

  
</head>

<body>

  <div id="elements"> 
   <h2 id="box"> box </h2>
   <h2 id="dog"> dog </h2>
   <h2 id="cup"> cup </h2>
   <h2 id="shuger"> shuger </h2>
</div>
  
  

</body>

</html>

/*Downloaded from https://www.codeseek.co/nogaanaby/dafna-wPYOxr */
#box{
  background-color: yellow;
}
#dog{
  background-color: #ff764d;
}
#cup{
  background-color: #ff7688;
}
#shuger{
  background-color: #ff47d6;
}
#elements{
  width: 50%;
  background-color: #f2d2f0;
}

Comments