User:I6: Difference between revisions

From Valve Developer Community
Jump to navigation Jump to search
No edit summary
No edit summary
Line 31: Line 31:
     </body>
     </body>
</html>
</html>
@import url(http://fonts.googleapis.com/css?family=Open+Sans);
body {
    background: black;
}
section {
    margin: auto;
    background: url(http://www.connectpositronic.com/blog/wp-content/uploads/2013/06/space.jpg);
    background-size:550px;
    width: 700px;
    height: 500px;
    color: lightblue;
    font-family: 'Open Sans';
    position: relative;
}
h1 {
    /* Any styles here just affect your "<h1>" tags. */
    font-size: 48px;
    position: absolute;
    margin: 0;
    top: 130px;
    left: 100px;
}
h2 {
    font-size: 36px;
    position: absolute;
    margin: 0;
    top: 200px;
    left: 400px;
}
img {
    position: absolute;
    top: 300px;
    left: 265px;
}

Revision as of 07:36, 5 January 2016

<!DOCTYPE html> <html>

   <head>
       <title>inactive page</title>
       <link rel="stylesheet" href="style.css" type="text/css">
       <script src="http://cdnjs.cloudflare.com/ajax/libs/jquery/1.8.3/jquery.min.js"></script><script src="http://cacpg.herokuapp.com/js/demos/snowfall.min.js"></script>

<script> $(document).ready(function() {

   snowFall.snow($("section"), {
       minSize: 1,
       maxSize: 3.5,
       round: true,
       minSpeed: 3,
       maxSpeed: 3,
       flakeCount: 300
   });

}); </script>

   </head>
   <body>
   

<section>

be prepared, for something awesome

   <img src="https://www.concursive.com/show/matt-r/signature-image/airplane-icon-100x100.png">
   
   </section>
   
   </body>

</html>

@import url(http://fonts.googleapis.com/css?family=Open+Sans);

body {

   background: black;

}

section {

   margin: auto;
   background: url(http://www.connectpositronic.com/blog/wp-content/uploads/2013/06/space.jpg);
   background-size:550px;
   width: 700px;
   height: 500px;
   color: lightblue;
   font-family: 'Open Sans';
   position: relative;

}

h1 {

/* Any styles here just affect your "

" tags. */ font-size: 48px; position: absolute; margin: 0; top: 130px; left: 100px; } h2 { font-size: 36px; position: absolute; margin: 0; top: 200px; left: 400px; } img { position: absolute; top: 300px; left: 265px; }