HTML CSS examples for CSS Widget:Font
Bootstrap font icons
<html> <head> <meta name="viewport" content="width=device-width, initial-scale=1"> <link rel="stylesheet" type="text/css" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/4.0.3/css/font-awesome.min.css"> <style id="compiled-css" type="text/css"> body {<!--from www . j a va 2 s. co m--> margin:21px; padding:21px; } .item { background:none repeat scroll 0 0 Chartreuse; border-bottom:2px solid yellow; clear:both; display:inline-block; float:left; padding:11px 6px 11px; } .image { display:inline-block; height:61px; padding:6px; vertical-align:middle; width:51px; } .image img { height:61px; width:51px; vertical-align:middle; } .descriptionContainer { display:inline-block; min-height:61px; vertical-align:middle; } .descriptionContainer h6 { margin:0; } span.main-head { color:blue; font-size:13px; font-weight:bold; } span.min-head { display:block; font-size:12px; margin-top:6px; } span.subcont { display:block; font-size:11px; margin-top:6px; } </style> </head> <body> <div class="c1"> <div class="item"> <div class="image"> <img class="media-object" src="https://www.java2s.com/style/demo/Google-Chrome.png"> </div> <div class="descriptionContainer"> <span class="main-head">Lorem ipsum dolor sit</span> <span class="min-head">Lorem ipsum d</span> <span class="subcont"> <span class="fa fa-retweet">Lorem ipsum </span> <span class="fa fa-twitter">Lorem ipsu</span> </span> </div> </div> </div> </body> </html>