tor-browser

The Tor Browser
git clone https://git.dasho.dev/tor-browser.git
Log | Files | Refs | README | LICENSE

selector-required.html (679B)


      1 <!DOCTYPE html>
      2 <html>
      3 <head>
      4 	<title>CSS level4 Selector :required and :optional</title>
      5 	<link rel="author" title="LEE YUN HEE" href="mailto:zzirasi@gmail.com">
      6 	<link rel="help" href="http://www.w3.org/TR/selectors4/#opt-pseudos">
      7 	<meta name="assert" content="You should see a green input box.">
      8        <link rel="match" href="selector-required-ref.html">
      9 	<style>
     10 		input {border:3px solid red;}
     11 		:required {border-color:green;}
     12 		:optional {border-color:green;}
     13 	</style>
     14 </head>
     15 <body>
     16 	<p>
     17 		You should see a green input box.
     18 	</p>
     19        <p>
     20        	<input required>
     21        </p>
     22        <p>
     23        	<input optional>
     24        </p>
     25    </body>
     26 </html>