Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
Adding html,css,js
  • Loading branch information
arg11020 committed Jan 31, 2016
1 parent f7d701d commit f88dc55
Show file tree
Hide file tree
Showing 3 changed files with 25 additions and 1 deletion.
15 changes: 15 additions & 0 deletions css/main.css
Expand Up @@ -94,7 +94,22 @@ textarea {
/* ==========================================================================
Author's custom styles
========================================================================== */
.blueSquare {
background-color:blue;
width:100px;
height:100px;
-webkit-animation: spin 4s infinite linear;
}
.redRectangle {
background-color:red;
width:200px;
height:100px;
}

@-webkit-keyframes spin {
0% {-webkit-transform: rotate(0deg);}
100% {-webkit-transform: rotate(360deg);}
}



Expand Down
9 changes: 8 additions & 1 deletion index.html
Expand Up @@ -20,7 +20,14 @@
<![endif]-->

<!-- Add your site or application content here -->
<p>Hello world! This is HTML5 Boilerplate.</p>
<div id="blueSquare">

</div>

<div id="redRectangle">

</div>


<script src="https://code.jquery.com/jquery-1.12.0.min.js"></script>
<script>window.jQuery || document.write('<script src="js/vendor/jquery-1.12.0.min.js"><\/script>')</script>
Expand Down
2 changes: 2 additions & 0 deletions js/main.js
@@ -0,0 +1,2 @@
document.getElementById('blueSquare').className = 'blueSquare';
document.getElementById('redRectangle').className = 'redRectangle';

0 comments on commit f88dc55

Please sign in to comment.