HTML CSS examples for CSS Layout:Responsive Media
Using Media queries to change button size
<html lang="en"> <head> <title>Lorem ipsum dolor sit amet</title> <style> @media (min-width: 768px) { .dataTables_filter input { height:21px; max-width:136px; display:inline-block; padding:2px 7px; margin-right:16px; }<!--from www.j ava 2 s . co m--> } @media (max-width: 768px) { .dataTables_filter input { height:41px; max-width:136px; display:inline-block; padding:2px 7px; margin-right:16px; } } </style> </head> <body translate="no"> <div class="dataTables_filter"> <input type="button" id="a" value="ABCD"> </div> </body> </html>