Jump to content

INPUT Styling for "In Focus" Objects?


AtomicAnomaly

Recommended Posts

I'm experienced, yet still a "beginner" in web-development, so I ask: How do I adjust the the radius of the outline of an "in focus" input object to match it's border-radius value?

/*Input field style*/input {    display: block;    border: 1px solid #aaaaaa;    border-radius: 2px;    padding: 12px;    font-size: 18px;    font-family: Sansation;    margin-left: auto;    margin-right: auto;    margin-bottom: 5px;}/*Input field focus style*/input:focus {    outline: 2px solid #28c789;    /* Outline Radius Value? */}

 

I do apologize for my ignorance on the subject, but I figure there must be a way.

 

Thank you!

Edited by AtomicAnomaly
Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...