DEV Community πŸ‘©β€πŸ’»πŸ‘¨β€πŸ’»

DEV Community πŸ‘©β€πŸ’»πŸ‘¨β€πŸ’» is a community of 966,904 amazing developers

We're a place where coders share, stay up-to-date and grow their careers.

Create account Log in
Sudharshan S
Sudharshan S

Posted on

Responsive Button sizeβœ…

⭐ In HTML, button tag is used to create tappable buttons on the web page. It is mostly used for navigation bar and submit purpose.

⭐ The button should be more responsive whether he/she using mobile phones, tablets, laptop or desktop. Otherwise it will be awkward.

⭐ For user experience, to create responsive buttons use min-height and min-width and set the value 40 pixels to 48 pixels perfect for fingers while using phone.

πŸ‘‰ Watch below video to get understand
https://youtu.be/ZNDWrXE1mH4

✍️Note: height and width property alone can be a little dangerous because it won’t allow the element to resize if the content inside of it is bigger than the container.

Top comments (0)

🌚 Friends don't let friends browse without dark mode.

Sorry, it's true.