A Pen by François Lajoie

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

<head>
  <meta charset="UTF-8">
  <title>A Pen by  Fran├žois Lajoie</title>
  
  
  
      <link rel="stylesheet" href="css/style.css">

  
</head>

<body>

  <div class="wrap">
  <div class="b">
    <div class="pt">
      <div class="t"></div>
    </div>
  </div>
</div>
  
  

</body>

</html>

/*Downloaded from https://www.codeseek.co/1franck/a-pen-by-franandxe7ois-lajoie-vEPYRa */
body {
  background: #222;
}

.wrap {
  overflow:hidden;  
}

.b {
  position:relative;
  float:left;
  left:50%;
  display:block;
  background:brown;
  width:200px;
  height:200px;
  border-radius:200px;
}
.pt {
  position:relative;
  float:left;
  left:-50%;
  display:block;
  background: blue;
  width:45px;
  height:45px;
  border-radius:45px;
}
.t {
  display:block;
  background:pink;
  width:20px;
  height:20px;
  border-radius:20px;
}

Comments