Advertisement
Guest User

Untitled

a guest
Apr 16th, 2014
36
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 3.02 KB | None | 0 0
  1. <html>
  2. <head>
  3. <title>Personal Homepage</title>
  4. <style media="screen" type="text/css">
  5. h1{
  6. padding-top:100px;
  7. padding-bottom:50px;
  8. font-family:"Arial Verdana", Arial, Sans-serif;}
  9.  
  10. #box {
  11. width: 900px;
  12. margin:0 auto;}
  13.  
  14. .holder {
  15. display: inline-block;
  16. background: black;
  17. border-radius:5px;
  18. margin-right:5px;
  19. margin-top:3px;
  20. border-style:solid;
  21. border-width:1px;
  22. border-color:#666;}
  23.  
  24. .tile {
  25. display: inline-block;
  26. width: 190px;
  27. height: 120px;
  28. -webkit-transition: all 0.25s linear;
  29. -moz-transition: all 0.25s linear;
  30. -ms-transition: all 0.25s linear;
  31. -o-transition: all 0.25s linear;
  32. transition: all 0.25s linear;
  33. border-radius:5px;}
  34.  
  35. .tile:hover {
  36. opacity: 0.75;}
  37.  
  38. body {
  39. background-color: #E6E6E6;}
  40.  
  41.  
  42.  
  43. </style>
  44.  
  45. </head>
  46.  
  47. <body>
  48. <div id="box" align="center" >
  49. <h1><a href="#" style="text-decoration: none; color:#666;" >Personal Homepage</a></h1>
  50. <ul>
  51. <li class="holder"><a class="tile" style="background-image: url(images/snow.png)" href="#"></a></li>
  52. <li class="holder"><a class="tile" style="background-image: url(images/updates.png)"href="#"></a></li>
  53. <li class="holder"><a class="tile" style="background-image: url(images/thehub.png)" href="#"></a></li>
  54. <li class="holder"><a class="tile" style="background-image: url(images/stats.png)"href="#"></a></li>
  55. <li class="holder"><a class="tile" style="background-image: url(images/shared.png)" href="#"></a></li>
  56. <li class="holder"><a class="tile" style="background-image: url(images/gosh.png)"href="#"></a></li>
  57. <li class="holder"><a class="tile" style="background-image: url(images/prudhoe.png)" href="#"></a></li>
  58. <li class="holder"><a class="tile" style="background-image: url(images/rowb.png)"href="#"></a></li>
  59. <li class="holder"><a class="tile" style="background-image: url(images/facebook.png)" href="#"></a></li>
  60. <li class="holder"><a class="tile" style="background-image: url(images/gmail.png)"href="#"></a></li>
  61. <li class="holder"><a class="tile" style="background-image: url(images/bbc.png)" href="#"></a></li>
  62. <li class="holder"><a class="tile" style="background-image: url(images/engadget.png)"href="#"></a></li>
  63.  
  64. </ul>
  65. </div>
  66.  
  67. </body>
  68. </html>
  69.  
  70. *display: inline;
  71. *zoom:1;
  72.  
  73. <style media="screen" type="text/css">
  74. h1 {
  75. padding-top:100px;
  76. padding-bottom:50px;
  77. font-family:"Arial Verdana", Arial, Sans-serif;
  78. }
  79. #box {
  80. width: 900px;
  81. }
  82. .holder {
  83. display: inline-block;
  84. background: black;
  85. border-radius:5px;
  86. margin-right:5px;
  87. margin-top:3px;
  88. list-style: none;
  89. width: 190px;
  90. float: left;
  91. border: 1px solid #666;
  92. }
  93. .tile {
  94. display: inline-block;
  95. width: 190px;
  96. height: 120px;
  97. -webkit-transition: all 0.25s linear;
  98. -moz-transition: all 0.25s linear;
  99. -ms-transition: all 0.25s linear;
  100. -o-transition: all 0.25s linear;
  101. transition: all 0.25s linear;
  102. border-radius:5px;
  103. }
  104. .tile:hover {
  105. opacity: 0.75;
  106. }
  107. body {
  108. background-color: #E6E6E6;
  109. width: 1000px;
  110. margin: 0 auto;
  111. }
  112. </style>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement