Without too many texts, you can directly view the results.
<Br/> <! Doctype HTML public "-// W3C // dtd xhtml 1.0 transitional // en" <br/> "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <br/> <HTML xmlns = "http://www.w3.org/1999/xhtml"> <br /> <pead> <br/> <meta http-equiv = "Content-Type" content = "text/html; charset = UTF-8 "/> <br/> <title> CSS: The ultimate method of transparent background color and opaque content! Compatible with all browsers </title> <br/> <style type = "text/CSS"> <br/> * {margin: 0; padding: 0 ;} <br/> body {Background: # 3f3f3f; font-family: "", Arial ;}< br/> H1, H2, H3, H4, H5, h6 {font-weight: normal; font-size: 100% ;}< br/> IMG {border: None 0 ;}< br/># Bos {width: 820px; Background: # FFF; margin: 0 auto ;}< br/> # Bos ul {ZOOM: 1; overflow: hidden; Background: # FFF; padding: 5px 0 5px 5px ;} <br/> # Bos ul Li {width: 260px; position: relative; overflow: hidden; float: Left; margin: 5px; Background: # fff ;}< br/>. img_wrap {width: 258px; Border: 1px solid # CCC; border-radius: 15px; display: block; overflow: hidden ;}< br/> # Bos ul Li H2 {width: 100%; Height: 0px; line-Height: 50px; color: # FFF; text-indent: 1em; font-size: 14px; font-family:; position: absolute; bottom: 0px; border-bottom-left-radius: 15px; border-bottom-right-radius: 15px; filter: progid: DXImageTransform. microsoft. gradient (Enabled = 'true', startcolorstr = '# 100', endcolorstr =' #44000000 '); Background: rgba (44000000, 0 ,. 6 );} <br/> </style> <br/> </pead> <br/> <body> <br/> <Div id = "bos"> <br/> <ul> <br/> <li> <br/> <a class = "img_wrap" href = "#"> </A> <br/> <H2> website fraud protection tips: free of charge for 59 RMB for full shopping </H2> <br/> </LI> <br/> <li> <br/> <a class = "img_wrap" href = "#"> </a> <br/> <H2> notification of delivery delay when the android client upgrades the new experience </H2> <br/> </LI> <br/> <li> <br/> <a class = "img_wrap" href = "#"> </a> <br/> <H2> Chen Nian talk about the brand's current work Bank E payment can be directly reduced by 60 yuan </H2> <br/> </LI> <br/> <li> <br/> <a class = "img_wrap" href = "#"> </a> <br/> <H2> Chen Nian talk about the brand's current branch ICBC e payment can be directly reduced by 60 yuan </H2> <br/> </LI> <br/> <li> <br/> <a class = "img_wrap" href = "#"> </a> <br/> <H2> You can pay by E of the sub-office of the brand in the old-year negotiation mode by RMB 60 </H2> <br/> </LI> <br/> <li> <br/> <a class = "img_wrap" href = "#"> </a> <br/> <H2> the original ICBC payment of the brand can be reduced by RMB 60 </H2> <br/> </LI> <br/> </ul> <br/> </div> <br/> </body> <br/> </ptml> <br/>
run the Code