Adding Dummy Text with CSS in Blogger?
Hello Everyone! Welcome back to Techy Shikari, Toady our tutorial is How to add Dummy Text with CSS in Blogger. If you provide tutorials about HTML, CSS and JavaScript or widgets in your site usually you provide demo of it. or Dummy text may be used to display a sample of fonts, generate text for testing.
But if you provide a demo in a blank post it will not look much better for the users. It is better to provide Demo of any widgets with a dummy texts so it looks much better between the texts.
In this post we will learn How to add Dummy Text with CSS in Blogger. so read the full post and say your opinion in comments section.
How to add Dummy Text with CSS in Blogger?
]]></b:skin>
and paste the following CSS just above itI have provided 2 styles of Dummy text you can use any of them
Style 1 :
/* Dummy Text Style 1 by TechyShikari */ .dummy-text{display:block} .dummy-text i{display:block;height:16px;margin-bottom:8px;background:#f2f1f7;border-radius:2px;} .dummy-text i.img{margin:0 auto;max-width:85%;height:180px;border-radius:10px} .dummy-header{position:relative;background:#fff;border-radius:6px;padding:15px 15px;box-shadow:0 2px 4px 0 rgba(0,0,0,.05)} .dummy-header .flex{display:flex;display:-webkit-flex} .dummy-header .flex i{width:60px;margin:0 10px 0 0} .dummy-header .flex i:last-child{margin:0}
<p class="dummy-text"> <i style="margin-left: 10%;"></i> <i></i> <i></i> <i></i> <i></i> <i style="width: 30%;"></i> </p> <p class="dummy-text"> <i style="margin-left: 10%;"></i> <i></i> <i></i> <i></i> <i></i> <i style="width: 30%;"></i> </p> <p class="dummy-text"> <i style="margin-left: 10%;"></i> <i></i> <i></i> <i></i> <i></i> <i style="width: 30%;"></i> </p>
Style 2:
]]></b:skin>
and paste the following CSS just above it/* Dummy Text Style 2 */ .dummyText i{display:block;background-color:rgba(0,0,0,.05);margin-bottom:10px;height:1.5em} .dummyText i.img{height:auto;min-height:200px;margin:2rem 10%}
<p class="dummyText"> <i style="margin-left: 10%;"></i> <i></i> <i></i> <i></i> <i></i> <i style="width: 30%;"></i> </p> <p class="dummyText"> <i style="margin-left: 10%;"></i> <i></i> <i></i> <i></i> <i></i> <i style="width: 30%;"></i> </p> <p class="dummyText"> <i style="margin-left: 10%;"></i> <i></i> <i></i> <i></i> <i></i> <i style="width: 30%;"></i> </p>
Post a Comment