#PureCSS - ReactJS Logo

In this example below you will see how to do a #PureCSS - ReactJS Logo with some HTML / CSS and Javascript

Responsive ReactJs Logo using CSS

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

<head>
  <meta charset="UTF-8">
  <title>#PureCSS - ReactJS Logo</title>
  
  
  
      <link rel="stylesheet" href="css/style.css">

  
</head>

<body>

  <div class="logo">
  <div class="circle"></div>
  <div class="oval"></div>
  <div class="oval"></div>
  <div class="oval"></div>
</div>
  
  

</body>

</html>

/*Downloaded from https://www.codeseek.co/AsyrafHussin/purecss-reactjs-logo-vjbOdE */
body {
  display: flex;
  justify-content: center;
  background: #222222;
  padding-top: 45vh;
  overflow: hidden;
}

.logo {
  position: relative;
  z-index: 1;
}
.logo *, .logo *::before, .logo *::after {
  box-sizing: border-box;
  display: block;
}
.logo .circle {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translateX(-50%) translateY(-50%);
}
.logo .circle:after {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  border-radius: 50%;
  background: #54dbf8;
  width: 10vh;
  height: 10vh;
  transform: translateX(-50%) translateY(-50%);
}
.logo .oval {
  position: absolute;
  width: 60vh;
  height: 25vh;
  border-radius: 50%;
  border: 2.5vh solid #54dbf8;
  transform-origin: center;
  top: 50%;
  left: 50%;
  transform: translateX(-50%) translateY(-50%) rotate(55deg);
}
.logo .oval:nth-child(1) {
  transform: translateX(-50%) translateY(-50%) rotate(125deg);
}
.logo .oval:nth-child(2) {
  transform: translateX(-50%) translateY(-50%) rotate(180deg);
}
.logo .oval:nth-child(3) {
  transform: translateX(-50%) translateY(-50%) rotate(125deg);
}

Comments