![]() With that in mind, let's define the basic style of buttons and inputs: The height and vertical alignment of buttons and inputs is determined by the combination of borders, padding, font-size, and line-height. However, using padding (instead of a fixed height) is safer because the button will adapt to its content under all circumstances. ![]() *An alternative approach would be setting a fixed height (e.g., height: 40px ) and a line-height equal to the height value (e.g., line-height: 40px ) for all buttons and inputs. font-size, line-height, padding, and border determine the size of buttons and inputs*.buttons and input elements have the same height. ![]()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |