HTML CSS examples for CSS Property:padding
Empty span margin / padding
<html> <head> <meta name="viewport" content="width=device-width, initial-scale=1"> <style id="compiled-css" type="text/css"> .outer {<!--from w ww .j ava2s. co m--> background:grey; padding:5px; } .inner { display:inline-block; background:cyan; height:41px; width:41px; } .inner:after { content:'\1a0'; } </style> </head> <body> <div class="outer"> <span class="inner">Lor</span> </div> <br> <div class="outer"> <span class="inner"></span> </div> </body> </html>