Skip to content

Instantly share code, notes, and snippets.

@StuPig
Created May 21, 2014 06:06
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save StuPig/b5172a652638f4937622 to your computer and use it in GitHub Desktop.
Save StuPig/b5172a652638f4937622 to your computer and use it in GitHub Desktop.
input {
border: none;
border-bottom: 1px solid #01a34b;
background-image: -webkit-gradient(linear, 0 0, 0 100%, from(#fff), to(#01a34b), color-stop(80%, #fff), color-stop(81%, #01a34b), color-stop(100%, #01a34b)),-webkit-gradient(linear, 0 0, 0 100%, from(#fff), to(#01a34b), color-stop(80%, #fff), color-stop(81%, #01a34b), color-stop(100%, #01a34b));
background-size: 1px 100%;
background-position: 0 0, 100% 0;
background-repeat: no-repeat;
}
input:focus,
input:active {
outline: none;
}
<!DOCTYPE html>
<html>
<head>
<meta name="description" content="fake android input box" />
<meta charset="utf-8">
<title>JS Bin</title>
</head>
<body>
<input type="text">
</body>
</html>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment