I have search field in my web page, now I need to change size when web browser screen size change.
let's say initially I have full size of my web browser screen, so it will display based on max-width, now when I reduce the web browser screen size, it will reduce search filed size too, up to min-width. Any Idea How can I do that?, Here what I tried.
.navbar-search input[type="text"]{ font-size: 15px; height: auto; margin-bottom: 05px; max-width: 565px; min-width: 50px; } Here I found one example, if you reduce the screen size, search filed size also change. this link