HTML CSS examples for CSS Form:Form
Create this simple form example in HTML
<html> <head> <meta name="viewport" content="width=device-width, initial-scale=1"> <style id="compiled-css" type="text/css"> li<!--from ww w. j ava 2 s . c o m--> { border-bottom:3px solid Chartreuse; width:251px; } label { background:white; position:relative; bottom:-7px; bakcground:white; padding-right:6px; } </style> </head> <body> <ul> <li> <label>Lorem</label> </li> <li> <label>Lorem ip</label> </li> <li> <label>Lorem</label> </li> <li> <label>Lorem </label> </li> <li> <label>Lore</label> </li> </ul> </body> </html>