HTML CSS examples for CSS Form:input button style
Select First Button In a Div In CSS
<html> <head> <meta name="viewport" content="width=device-width, initial-scale=1"> <style id="compiled-css" type="text/css"> .button-group-h li:first-child button{ background-color:yellow; } </style> </head> <!--from w w w . j a v a 2 s. c o m--> <body> <ul class="button-group-h"> <li> <button class="btn button">Button</button> </li> <li> <button class="btn button">Button</button> </li> <li> <button class="btn button">Button</button> </li> </ul> </body> </html>