diff options
| author | Anmol Agrawal <anmol1771@gmail.com> | 2014-09-30 00:39:50 +0530 |
|---|---|---|
| committer | Alon Levy <alon@pobox.com> | 2014-09-30 20:25:32 +0300 |
| commit | 9f9215499c2e2e248b604515d6741d17e78d9062 (patch) | |
| tree | 3e3455e4b55aed5e1049e234f1a9ed34f5e2593b | |
| parent | f5b744c81b6f39daf58e93a0d779391688a1bb07 (diff) | |
The text box is fixed except that it doesn’t return to it’s original
size.
| -rw-r--r-- | index.html | 2 | ||||
| -rw-r--r-- | style.css | 8 |
2 files changed, 4 insertions, 6 deletions
@@ -49,7 +49,7 @@ <div id="suggestion" > - <form> <input id="textanalyser" placeholder="Type here to create a network:" /></form> + <form> <input id="textanalyser" size="70" placeholder="Type here to create a network:" onkeyup="expand(this);"/></form> </div> <div class="typeselection"> @@ -72,8 +72,8 @@ a:active { #textanalyser{ position: fixed; - width:900px; height:30px; + max-width: 70%; } input:focus { @@ -83,14 +83,12 @@ input:focus { #suggestion{ display:block; position:fixed; - top:30px; - left:20px; + top:30px; + left:20px; list-style-type: none; width:900px; } - - .node { stroke: #fff; stroke-width: 1px; |
