I didn't have a clue what styles make that happen. Glad that wasn't an interview question.
Testing:
Here is how: "focus" and "box-shadow".
<style type="text/css">
input {
border:2px solid #dadada;
border-radius:7px;
font-size:20px;
padding:5px;
}
input:focus {
outline:none;
border-color:#9ecaed;
box-shadow:0 0 10px #9ecaed;
}
</style>
Testing <input type=text size=10>
No comments:
Post a Comment