Made this as a demonstration on how common interface problems can be solved with both UX aaaand UI design
Created
October 26, 2015 22:52
-
-
Save alexUXUI/00e75e86e18024237b20 to your computer and use it in GitHub Desktop.
Simple input form example
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="parent"> | |
<div class="child"> | |
<ul> | |
<li>First<br> | |
<input value="name"></input> | |
</li> | |
<li>Last<br> | |
<input value="last name"></input> | |
</li> | |
<li>Email<br> | |
<input value="email address"></input> | |
</li> | |
</ul> | |
</div> | |
<div class="child"> | |
<ul> | |
<li>Phone<br> | |
<input value="(xxx) xxx-xxxx"></input> | |
</li> | |
<li>Credit Card<br> | |
<input value="####-####-####-####"></input> | |
</li> | |
<li>Address<br> | |
<input value="blank at blank st."></input> | |
</li> | |
</ul> | |
</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
body { | |
margin: 0; | |
font-family: Verdana; | |
} | |
li { | |
list-style:none; | |
color:black; | |
font-size:1.2em; | |
border: | |
} | |
input { | |
border: 0; | |
outline: 0; | |
background: transparent; | |
border-bottom: 1px solid black; | |
width: 200px; | |
height: 2em; | |
font-size: .75em; | |
color:#aeaeae; | |
margin-bottom: 15px; | |
} | |
.parent { | |
height: 80px; | |
width: 100%; | |
display: flex; | |
} | |
.child { | |
flex-direction: horizontal; | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment