Przeglądaj źródła

Whole banner is made clickable

Muhammad Talha Mansoor 12 lat temu
rodzic
commit
7a3db0fa94
2 zmienionych plików z 5 dodań i 7 usunięć
  1. 1 1
      css/custom.css
  2. 4 6
      index.html

+ 1 - 1
css/custom.css

@@ -20,7 +20,7 @@ moz-border-radius:15px;
 box-shadow: 0 0 5px 5px #888;
 }
 
-.banner {
+a.banner {
 background-image:url(images/oncrashrebootbanner.jpg);
 background-repeat:no-repeat;
 background-size:cover;

+ 4 - 6
index.html

@@ -51,12 +51,10 @@
   <div class=
   "container pageBackground padding_top_15 padding_bottom_15">
     <div class="row pageForeground">
-      <div class="col_12 banner">
-        <h1>onCrash="Reboot()"</h1>
-
-        <p>You can, you should, and if you're brave enough to
-        start, you will.</p>
-      </div>
+      <a class="banner col_12" href=
+      "http://www.google.com"><h1>onCrash="Reboot()"</h1>
+      <p>You can, you should, and if you're brave enough to start,
+      you will.</p></a>
 
       <div class="col_12 hmenu">
         <div class="col_1">