HTML CSS examples for CSS:Selector
select multiple elements using CSS
<html> <head> <meta name="viewport" content="width=device-width, initial-scale=1"> <style id="compiled-css" type="text/css"> div.c1 .c2 .c3 input, div.c1 .c2 .c3 textarea { border:2px solid Chartreuse; } </style> <!--from ww w . j a v a2 s . com--> </head> <body> <div class="c1"> <div class="c2"> <div class="c3"> <input> <textarea></textarea> </div> <input> <textarea></textarea> </div> </div> <div class="c3"> <input> <textarea></textarea> </div> </body> </html>