I am trying to create this Logo with CSS
The Reason I want to recreate in CSS is so that I can animate each individual circle? I am using Materialize Framework here is a copy of my first horrible attempt.
.hero {
background-color: #7EEDE2;
height: 100vh;
margin: 0;
padding: 0;
z-index: 1;
}
.circleOne {
margin: auto;
top: 50%;
width: 200px;
height: 200px;
border-top-left-radius: 100px;
border-top-right-radius: 100px;
border-bottom-right-radius: 100px;
border-bottom-left-radius: 100px;
border: 10px solid gray;
border-bottom: 0;
}
.circleTwo {
margin: auto;
top: 50%;
width: 150px;
height: 150px;
border-top-left-radius: 100px;
border-top-right-radius: 100px;
border-bottom-right-radius: 100px;
border-bottom-left-radius: 100px;
border: 10px solid gray;
border-bottom: 0;
}
.circleThree {
margin: auto;
top: 50%;
width: 100px;
height: 100px;
border-top-left-radius: 100px;
border-top-right-radius: 100px;
border-bottom-right-radius: 100px;
border-bottom-left-radius: 100px;
border: 10px solid gray;
border-bottom: 0;
}
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
<!--Import Google Font-->
<link href="http://fonts.googleapis.com/icon?family=Material+Icons" rel="stylesheet">
<link href='https://fonts.googleapis.com/css?family=Roboto:100,300,400' rel='stylesheet' type='text/css'>
<link href='https://fonts.googleapis.com/css?family=Montserrat:400,700' rel='stylesheet' type='text/css'>
<!-- Import Framework -->
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/materialize/0.97.6/css/materialize.min.css">
<link rel="stylesheet" href="css/animate.css">
<!--Import Style Sheets-->
<link href="css/main.css" rel="stylesheet">
<!--Let browser know website is optimized for mobile-->
<meta name="viewport" content="width=device-width, initial-scale=1.0"/>
<title>SpecterMedia</title>
</head>
<body>
<nav class="darkBlue" role="navigation">
<div class="nav-wrapper">
<a id="logo-container" href="#" class="brand-logo center">Secter<span>Media</span></a>
</div>
</nav>
<div class="row hero valign-wrapper">
<div class="col s4 offset-s4">
<div class="circleOne"><div class="circleTwo"><div class="circleThree"></div></div></div>
<h5 class="center"> Catchy Text </h5>
<div class="section center">
<a class="waves-effect waves-light btn-large hoverable">Get Your Free Quote Now</a>
</div>
</div>
</div>
<div class="row">
<div class="col s12 intro">
</div>
<!--Import jQuery-->
<script type="text/javascript" src="https://code.jquery.com/jquery-2.1.1.min.js"></script>
<!--Import frameworkjs-->
<script src="https://cdnjs.cloudflare.com/ajax/libs/materialize/0.97.6/js/materialize.min.js"></script>
</body>
</html>
Aucun commentaire:
Enregistrer un commentaire