HTML CSS examples for CSS Widget:UL Element
Left border to height light section
<html> <head> <meta name="viewport" content="width=device-width, initial-scale=1"> <style id="compiled-css" type="text/css"> body {<!-- w w w. j a v a 2 s . c o m--> background:white; } .two-col.body-width { max-width:1139px; } .two-col { display:table; clear:both; margin:0 auto; padding:21px 0; width:100%; box-sizing:border-box; } .two-col>.col_container.align-top { vertical-align:top; } .layout .section-tout p { position:relative; padding:21px 41px 49px; margin:0; } .two-col>.col_container { width:51%; display:table-cell; text-align:left; vertical-align:middle; box-sizing:border-box; padding:0px 26px; background-image:linear-gradient(to left, white 26px, transparent 0), linear-gradient(to right, transparent 26px, Chartreuse 26px, yellow 31px, blue 31px, pink 0); background-image:-ms-linear-gradient(to left, white 26px, transparent 0), -ms-linear-gradient(to right, transparent 26px, OrangeRed 26px, grey 31px, BlueViolet 31px, Chartreuse 0); } </style> </head> <body> <section class="layout two-col body-width"> <div class="col_container align-top section-tout"> <p>Lorem ipsum dolor sit amet, consectetur adipiscing elit. Morbi ullamcorper molestie lacus sed fermentum. Aliquam e</p> </div> <div class="col_container align-top section-tout"> <p>Lorem</p> </div> </section> </body> </html>