Showing HTML, CSS & Javascript Codes in Blogger Posts
Like Free Premium HTML
First Let's take a look at the final example:
Many users of blogger has problems with showing the codes in their posts, and now I've a simple and easy method to show them like an editor, in this method I'm basically using blogger
Block-quotes, you see a live example from here: Stack images with cool effect just with pure css3;
So the thing you're gonna do is:
First Open your blogger dashboard
- Go to your Blogger dashboard.
- Next to the gray Post List icon, click the drop-down menu and select Template.
- Click the Edit HTML button under the "Live on blog" view.
- Click inside the code editor.
- Ctrl + F.
- Then Type "]]></b:skin>" inside the search box.
Then Right Before that code put this:
blockquote{The Code should looks like this:
font-family: 'Pathway Gothic One', sans-serif;
background: #C47D7D;
padding: 8px;
padding-left: 10px;
border: 2px solid #EB4938;
border-left: 15px solid #EB4938;
box-shadow: 0 0 10px rgba(0,0,0,.5) inset;
text-shadow:0 1px rgba(255,255,255,.6);
max-width: 500px;
overflow: auto;
}
blockquote{
font-family: 'Pathway Gothic One', sans-serif;
background: #C47D7D;
padding: 8px;
padding-left: 10px;
border: 2px solid #EB4938;
border-left: 15px solid #EB4938;
box-shadow: 0 0 10px rgba(0,0,0,.5) inset;
text-shadow:0 1px rgba(255,255,255,.6);
max-width: 500px;
overflow: auto;
}
]]></b:skin>
The Using of the Tip:
Step One: Type Your Wishing code.
Step Two: Highlight your code:
Step Three: Click on block-quote icon from the editor panel: Or Just See the Video below
Enjoy it Guys;
And Feel Free to share all what you want.
0 comments:
Post a Comment