update docs to reflect addition of messages
This commit is contained in:
parent
d721ccdb10
commit
a303e972f0
3 changed files with 43 additions and 3 deletions
24
docs.css
24
docs.css
|
@ -98,4 +98,26 @@ nav {
|
|||
.row .col {
|
||||
margin: 0;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
.krakenholder {
|
||||
display: block;
|
||||
width: 150px;
|
||||
margin: auto;
|
||||
}
|
||||
|
||||
.krakenholder:hover .kraken {
|
||||
height: 0;
|
||||
}
|
||||
|
||||
.krakenholder:hover:before {
|
||||
position: relative;
|
||||
display: block;
|
||||
height: 150px;
|
||||
text-align: center;
|
||||
font-size: 40px;
|
||||
line-height: 150px;
|
||||
font-weight: bold;
|
||||
background: red;
|
||||
content: "ROAR";
|
||||
}
|
||||
|
|
22
docs.html
22
docs.html
|
@ -176,11 +176,11 @@
|
|||
<div>
|
||||
<h1>Forms</h1>
|
||||
<input type="text" class="smooth" placeholder="input type="text""><br><br>
|
||||
<textarea rows="3" class="smooth" placeholder="textarea"></textarea><br><br><span class="addon-front">$</span><input type="text" class="smooth" placeholder="span class="addon-front"">
|
||||
<textarea rows="3" class="smooth" placeholder="textarea"></textarea><br><br><span class="addon">$</span><input type="text" class="smooth" placeholder="span class="addon"">
|
||||
<br><br>
|
||||
<pre><input type="text" class="smooth">
|
||||
<br><textarea rows="3" class="smooth">
|
||||
<br><span class="addon-front"></span><input type="text" class="smooth"></pre>
|
||||
<br><span class="addon"></span><input type="text" class="smooth"></pre>
|
||||
</div>
|
||||
|
||||
<div class="navbar">
|
||||
|
@ -308,6 +308,24 @@
|
|||
<br>
|
||||
<pre><h1>Level One Heading</h1></pre>
|
||||
</div>
|
||||
|
||||
<h1>Messages</h1>
|
||||
<div class="messages">
|
||||
<div class="msg">
|
||||
<strong>Watch out!</strong> You almost scrolled off the page. There are reports of sea monsters past the end of the page and we do not advise you go there.
|
||||
</div>
|
||||
<pre><div class="msg">
|
||||
<strong>Alert headline!</strong>
|
||||
Message text
|
||||
</div>
|
||||
</pre>
|
||||
</div>
|
||||
<br>
|
||||
|
||||
<div class="krakenholder">
|
||||
<img src="kraken.png" class="kraken" alt="a scary sea monster">
|
||||
</div>
|
||||
|
||||
<br>
|
||||
|
||||
<script type="text/javascript">
|
||||
|
|
BIN
kraken.png
Normal file
BIN
kraken.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 25 KiB |
Loading…
Add table
Reference in a new issue