Created
May 21, 2013 06:36
-
-
Save JohannesMP/5617896 to your computer and use it in GitHub Desktop.
The first commented line is your dabblet’s title
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/** | |
* The first commented line is your dabblet’s title | |
*/ | |
* { font-family: Arial; margin: 0; padding: 0; } | |
.sidebar { | |
float:right; | |
height: 400px; | |
width: 50%; | |
background-color: orange; | |
padding: 10px; | |
} | |
.searchform, .test-form { | |
font-size: 0; | |
background-color: yellow; | |
min-height: 20px; | |
margin-bottom: 20px; | |
} | |
.searchfield, .test-field { | |
width: 100%; | |
display: block; | |
font-size: 20px; | |
background-color: pink; | |
margin-right: 200px; | |
border: 0; | |
color: black; | |
} | |
.searchsubmit, .test-submit { | |
font-size: 20px; | |
width: 200px; | |
float:right; | |
background-color: lightgrey; | |
text-align: center; | |
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<div class="sidebar"> | |
<h1>Search Form:</h1> | |
<form action="" class="searchform" method="get"> | |
<input type="submit" placeholder="Submit" class="searchsubmit" /> | |
<input type="text" class="searchfield" name="s" placeholder="type here" /> | |
</form> | |
<h1>Search Div Mockup:</h1> | |
<div class="test-form"> | |
<div class="test-submit">Submit</div> | |
<div class="test-field">type here</div> | |
</div> | |
</div> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// alert('Hello world!'); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{"view":"separate","fontsize":"80","seethrough":"","prefixfree":"1","page":"all"} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment