How To Add It To Blogger ?
Let's see how to add this tool to blogger.
- First go to Blogger > Design > Edit HTML
- Now Search for the tag ]]></b:skin>
- Copy and paste below code just above/before ]]></b:skin> tag.
.code1 {
overflow:auto;width:503px;height:200px;
font-family: "Consolas", "Courier New", Courier, mono, serif;
color:#848176;
margin : 15px 35px 15px 15px;
padding : 10px 10px 10px 35px;
clear : both;
list-style-type : none;
background : #000000 url(https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhy-j0mW8n1ihX4Evgq9cHJXjhJG5Dryh0sI1GL5pHCTzkO_wqa9m12zOzidJshExnKRBQkGZ_P7EH-4zWR4aAKE6_E_vFU-oWDe2uD2x7ccBOGJXeRnBEBl4FhK6ZcjLUpBHFFvVt8JXZT/s320/btsnts-show-codes1.jpg) repeat-y top left;
border : 1px solid #000000;
border-left:20px solid #ccc;
-webkit-transition:all .3s ease-in-out;-moz-transition:all .3s ease-in-out;-o-transition-duration:all .3s ease-in-out;transition:all .3s ease-in-out;-webkit-border-radius:3px;-moz-border--moz-border-radius: 23px 20px 20px 20px;border-radius: 23px 20px 20px
}
.code1:hover{
background : #000000 url(https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhCBQUd9W7-ji2wR3-fLD4ae1YWyqixkiciEZoYj9FA181R1oEGJecjMJD6LYoB5Pnxtbk8EKAX8D1ojDTuk-xb1Klo4hJZ6Ukkk8bVNlamWnU8fAX-7lCOQ_oIAmpIMIfvmdUi8NNyKKg1/s1600/btsnts-show-codes2.jpg) repeat-y top left;
color:#FEF9BF;
border : 1px solid #000;
border-left:20px solid #ccc;
-webkit-box-shadow: 0px 0px 10px rgba(0, 0, 0, .3);
-moz-box-shadow: 0px 0px 10px rgba(0, 0, 0, .3);
box-shadow: 0px 0px 10px rgba(0, 0, 0, .3);
box-shadow: 10px 10px 5px #888888;
}
How To Show It In Blogger Posts ?
1. Go to your post editor and choose Edit HTML.
2. Add <div class="code1"> Your Code Here </div>
Note - If you want to show your HTML/Javascript in your posts then first encode them
If still you are getting any problem then throw it into comment box.
No comments:
Post a Comment
If you want to be informed about any replies then check "Notify me" option (present at lower right corner of comment box and it will display if you are logged in to your google account). PLEASE DO NOT SPAM