Khi tạo một bài viết với blockquote , văn bản trích dẫn đó sẽ được thụt vào bên trong và làm cho nó nổi bật. Tuy nhiên,style mặc đinh của blogspot rất đơn điệu, nếu bạn muốn thay đổi nó thì bạn có thể chỉnh sửa nó bằng lệnhblockquote{ lệnh css }.
Blockquotes là cách để làm nổi bật ý tưởng chính của bạn giữa các nội dung khác Thủ thuật được phát triển bởi 24wworks.
☼ Bây giờ ta bắt đầu thủ thuật :
1. Đăng nhập blog
2. Vào bố cục (layout)
3. Vào chỉnh sửa code HTML (edit code HMTL).
Ctrl + F : tìm bỏ các đoạn : 1. Đăng nhập blog
2. Vào bố cục (layout)
3. Vào chỉnh sửa code HTML (edit code HMTL).
blockquote {......}Tại vì mỗi template có một mẫu blockqoute khác nhau. Nên các bạn tìm đoạn code tương tự mà xóa nhé. Nhưng đừng bỏ cái blockquote trong phần reset css nhé :D
.post blockquote {....}
.post blockquote p {.....}
- Sau khi xóa bỏ xong,bạn thêm đoạn code sau vào ngay chỗ blockquote xóa đó. Hoặc thêm ở trước thẻ ]]></b:skin>
- Bạn nên sử dụng firefox để test mã blockqoute nào hợp với template của bạn trước rồi hãy quyết định mang vào template.
Chúc bạn hài lòng.
Style 1
Code:
blockquote { margin: 1em 3em; padding: .5em 1em; border-left: 5px solid #fce27c; background-color: #f6ebc1; } blockquote p { margin: 0; }
Style 2Code:
blockquote { margin: 1em 3em; color: #999; border-left: 2px solid #999; padding-left: 1em; }
Style 3Code:
blockquote { margin: 1em 2em; border-left: 1px dashed #999; padding-left: 1em; } blockquote p:first-letter { float: left; margin: .2em .3em .1em 0; font-family: "Monotype Corsiva", "Apple Chancery", fantasy; font-size: 220%; font-weight: bold; } blockquote p:first-line { font-variant: small-caps; }
Style 4Code:
blockquote { background-color: #666; color: #fff; font-weight: bold; padding: 10px; -moz-border-radius: 5px; -webkit-border-radius: 5px; }
Style 5Code:
blockquote { background-color: #666; color:#fff; padding: 15px; margin: 1em 40px; -moz-border-radius-topleft: 15px; -webkit-border-top-left-radius: 15px; -moz-border-radius-topright: 15px; -webkit-border-top-right-radius: 8px; -moz-border-radius-bottomleft: 15px; -webkit-border-bottom-left-radius: 15px; }
Style 6Code:
blockquote { margin : 0 20px; padding: 60px 30px 40px 20px; background : #F1F8FE url(https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhnOS4du1O-C1PIQFOIU22DGOmk-Fp1tk3Ug4xkK7GVmo3JqLwZueJ30m5_JsenedMUPmMlE6Cbztthpwi9lwWXIK5NhiLkmciMj8brutVqO0bGlTy-6wRTCTRQjabYDod9W3ajN7rf__U/s400/owl.png) no-repeat 350px 5px; font: normal .9em "comic sans ms", Courier,"Times New Roman", Times, serif; color : #000; border-left: 8px dotted #DAB547; } blockquote p { margin: 0; padding-top:10px; }
Style 7Code:
.post blockquote { margin : 0 20px; padding: 70px 20px 20px 40px; background : #E4EAFE url(https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhxTvBr7JlxeEP3AJbJZT5qkT6nIsdMVyDw00xQv6DEETijO5BKLK77rBEcxHIzhGe8aAZsZynPndbTyzP6Br6xqxvY-TOSq-vlLgzXhDZdnwf3GfHjSYf3DqQZvEMjU7zH69HbhDgC4c0/h120/angular-purple-namkna-blogspot-com.gif) no-repeat top left; font: bold 1em Helvetica, verdana, Georgia, "Times New Roman", Times, serif; color : #000; border-bottom : 5px solid #435388; } .post blockquote p { margin: 0; padding-top:10px; }
Style 8Code:
.post blockquote { margin : 0 20px; padding: 10px 20px 25px 20px; background : #9FCFFF url(https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhA1xunJLxmQgJAzyauYHdWXMH170TcnxruN8sc0bzRjAAnQpGMT96_x1_q3WzhRSgm3IJZIuArN2QTvcEpRYfaI5bH0X1pWE24xoRQw18rdd94nsJo4uXSCDA1sJlJufixJEd-LbyWYm4/h120/block22-namkna-blogspot-com.gif) no-repeat right bottom; font: bold .9em "comic sans ms", arial, Helvetica,verdana, Georgia; color : #484848; border: 5px dashed #fff; } .post blockquote p { margin: 0; padding-top:10px; }
Style 9Code:
.post blockquote { background: #F3F3F1 url(https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjq-MNIZWRbkvkKXJwXz3OXe33r2sGq4YPzql_hvTdPsyTw7mdL74w-J5yPCQcxnFx_hyWa_fxJIUn120hAnKszTN3m13YbCYzd0SmbHImPijs8DWWi0g8-Q0anWmwWTEOzbvKX9gIZArI/s1600/comma-side-namkna-blogspot-com.gif) ; background-position:; background-repeat:repeat-y; margin: 0 20px; padding: 20px 20px 10px 45px; font-size: 0.9em; font: italic 1.2em Georgia, "Times New Roman", Times, serif; } .post blockquote p { margin: 0; padding-top: 10px; }
Style 10Code:
blockquote { background: #484B52 url(https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjrzrRX_H8GfvdrspCRdkphIYmfuBsnhKQ5bJsGwiPy26-jQPztS-oSS1yhDztuCbXfntlPBpdqlMPip75zZgz4Lfh1aQ18DqOkjd4Iyoa8fEsO3OCmUYMjjUD-Qzx3mIsDlYySmfIbsBA/s1600/green-black-side-namkna-blogspot-com.gif) ; background-position:; background-repeat:repeat-y; margin: 0 20px; padding: 20px 20px 20px 50px; color:#C7CACF; font: normal 0.9em Helvetica, verdana, serif, Georgia, "Times New Roman"; } .post blockquote p { margin: 0; padding-top: 10px; }
Style 11 Code:
.post blockquote { margin : 0 20px; padding: 20px 60px 80px 20px; background : #FEE4E3 url(https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEi_kDxWhnAu74j2E3V50LzGN8O6PmfLrPykoAsUMTxlPFhhDRbgQnYJN9EECanX7On2PLK9FHK_eaCrxOxo2uLW4w8yqyCYG2kmlNQhKtA8GOrn88NMUsdiZF2VqX2RY6XiSYnsCJnb9Ic/s1600/angular-right-namkna-blogspot-com.gif) no-repeat bottom right; font: bold italic 1em Georgia, verdana, Helvetica, "Times New Roman", Times, serif; color : #000; border: 1px solid #DDD; } .post blockquote p { margin: 0; padding-top:10px; }.post blockquote { margin : 0 20px; padding: 20px 60px 80px 20px; background : #FEE4E3 url(https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhogt2N6d816bkk9SUOizVxQ1aCvVsPEwxTnRS-ArdOh9XubhpBTRU-SIsYUzh17Z7hMxwOFnMFbA3vpb67mZ__xLLDELYn5drpXw21RJhAMS75Sfsf7wj6-FJFYcDhuj0qzGk8Q8jLDrI/h120/angular-right-namkna-blogspot-com-1.gif) no-repeat bottom right; font: bold italic 1em Georgia, verdana, Helvetica, "Times New Roman", Times, serif; color : #000; border: 1px solid #DDD; } .post blockquote p { margin: 0; padding-top:10px; }
Style 12Code:
.post blockquote { font: 18px normal Tahoma, sans-serif; padding-top: 10px; margin: 5px; background: url(https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiv5XGCaTC46s4CYLMYgLPpWdEoBFNAN4A5EvfCxVa5WVp13zxP2tGSkrKxHOaosvj_yLUhQ-nj0lpeqSuEZHmM5Ks7KDR269hHh8Vknfm6f4TT-9ki-rXEm8Lm7oJxw-MYVR3vUuDy9c0/h120/comma-left-namkna-blogspot-com.gif) no-repeat top left; text-indent: 65px; } .post blockquote div { display: block; background: url(https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhtuqXhZXnxvwN_mfANERmzfSsaavI6qOiffI83lWYjDmEAG6xJlmbctkVjAxhlUosDH72sqAbB7lMvZMFH00jNrofqrbGO5dIkZH9F3xULQm-A1AC6DWBmVfNFqV7JhKLBp1EXzg7HVck/h120/comma-right-namkna-blogspot-com-1.gif) no-repeat bottom right; padding-bottom:10px; } .post blockquote p { margin: 0; padding-top:10px; }
Style 13 Code:
.post blockquote { font: 18px normal Tahoma, sans-serif; padding-top: 10px; margin: 5px; background: url(https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjlB2UyD5tViI01Akce4GKRCLQJr2KDeo27fvcoET-prIpp0uw2I-O1N2i4nj9BmmMkHDzlhGVqESJTAx-2cWr42cUg1a_bsKUPFcaRAsfIV1W2LpfL8gIgBRw0Zldu-6OeXL-d_W8UuBE/h120/comma1-left-namkna-blogspot-com.gif) no-repeat top left; text-indent: 65px; } .post blockquote div { display: block; background: url(https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEj9zgXitKP88BWr9bIlg-MKF-nF3fXRnF-kbYE2FvLCy9dk9vv4VxDEqHxvRNzgBHObWl_kPOw04Xd0uQaLGYwmhBMBE8IkJpjgc1RKUKAPu64tOwGYgMvK2YC-ax_fqQSGufyQOpFdwkE/h120/comma1-right-namkna-blogspot-com-1.gif) no-repeat bottom right; padding-bottom:10px; } .post blockquote p { margin: 0; padding-top:10px; }
Style 14 Code :
.post blockquote { font:bold italic .9em "comic sans ms", Tahoma, sans-serif; padding-top: 25px; margin: 5px; background: url(https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjNWOOS1ZOI9aBAcK28kiqxTpMXlK61qAWM-8N5S-i6G_8KG8eJoY0PeZ5WWxO7Yqg_LMFyu2kkFjRycx98DEPRIjSrCUYCehghhJvcHFBHyG-08xwItPZ8eNDXk-uf2OrYn9o7FBUmBvw/h120/left-namkna-blogspot-com.gif) no-repeat top left; text-indent: 65px; color:#6299E4; } .post blockquote div { display: block; background: url(https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEi6gbyP7xiRKaj4qd0IjPAJGNqSDvAjHBv0vqBGA9xrfo6fXcxtdtZ81hfm-zH26ie5C3j7X2uDGHhZRntLUM-oDC0LOHN_6ZJoFZ1fM0uy7ZvfrvmaJUTG3jU76SwH1j2HFQfIs26xVSs/h120/right-namkna-blogspot-com-1.gif) no-repeat bottom right; padding-bottom:30px; } .post blockquote p { margin: 0; padding-top:10px; }
Style 15 Code:
.post blockquote { font: italic 1em "comic sans ms", Tahoma, sans-serif; padding-top: 10px; margin: 5px; background: url(https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEj1qNOUsLm0Ufuo7o7yOlis2UZwxci7T1KujKk44GsP1i7pq58rGQLJjapjmxqCFQx1KuQ6wXk19LbR-aZ2P2SquzXnhPIcZCucXVkvPAhqAJ28j_OMdxHHTPPNjziwuQYl3BwhzCe7580/h120/comma2-left-namkna-blogspot.gif) no-repeat top left; text-indent: 65px; } .post blockquote div { display: block; background: url(https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEh7oKeudHzbhkjkQfdjkTxlCBsgUtPNWBZQFaiopGf6vIudv13GAFaQXY68kLSwKG_SKprh7Q4iumImbbJmHxPgCEz7w9HI-y4a3NsqhqEkgXV_IA4k8LsnhqypOUIQotrpZ0XBCDVdif4/h120/comma2-right-namkna-blogspot-com.gif) no-repeat bottom right; padding-bottom:10px; } .post blockquote p { margin: 0; padding-top:10px; }
Style 16Code:
.post blockquote { margin : 0 20px; padding: 70px 20px 20px 20px; background : #E7E5DC url(https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEimVrcvQACvByMKGdeMkwKZZy1lt4a-ByWGZYwWOwseru18RuJsXBWXXLoOPNNQf9XMdp4-x96hi0xTXPkaZxKJgfl018MVk8KxXF2LAxxysXwc29OnnRYlV-D9uwDURKxuZAeYiK6tQA8/h120/block333-namkna-blogspot-com.gif) no-repeat top; font: normal 1em "comic sans ms",Helvetica, Courier,"Times New Roman", Times, serif; color : #000000; border-bottom : 7px solid #FF0000; } .post blockquote p { margin: 0; padding-top:10px; }
Style 17Code:
.post blockquote{ margin : 0 20px; padding: 50px 30px 50px 30px; background : #FFF url(https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEi3TwCB6ECABVFik_kzObA9SsakKwsUb8MJAS-_xzcMh2oJZ95QhTfsSRIHUarJBLbImU268GCfgSC0JkhengrOuHAoWY96i6iiR3NqlluGgtD04bG3_OzYpsEGF0A8MZBHHS00F6MW9ak/h120/BLOCK1-TOP-namkna-blogspot-com.gif) no-repeat top; font: bold italic 1em Helvetica, verdana; color : #000; } .post blockquote div{ background : #FFF url(https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEi293QM6QmDGgsp3ND3BNe0FRRiywXGyMxNBERxi94-YXmE-0tpy8Vbn-oOhZTtOAmH-ZW4D8RuUCo4vigsSkcwTZbhzcGpGs-vxe8TavS8hP1JIoud3vFVjMYg35EhPW-pnjldKQRkeIA/h120/BLOCK1-BOTTOM-namkna-blogspot-com.gif) no-repeat bottom; padding-bottom: 50px; } .post blockquote p { margin: 0; padding-top:10px; }
Style 18Code:
.post blockquote { margin : 0 20px; padding: 70px 20px 30px 20px; background : #E7E5DC url(https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhFabSrwLEK0xFLGcsIde2u7lr1Wk8md0rgY-54qulHtRGBfq_oy2R1tNs0ssex5EN89YHZj-gptLdBDobEsdiBZyfHmGfTYSiYrHBzySQ-iXDcYRyaMOpKsDHXf7KYtTVCfUahftV8HQA/h120/block3331-namkna-blogspot-com.png) no-repeat top; font: bold .9em Helvetica, "comic sans ms",Courier,"Times New Roman", Times, serif; color : #343434; border-left : 7px solid #FF7802; border-right : 7px solid #FF7802; border-bottom : 7px solid #FF7802; } .post blockquote p { margin: 0; padding-top:10px; }
Style 19Code:
.post blockquote{ margin : 0 35px; padding: 80px 0px 0px 0px; background : #E6F1FA url(https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgUvuX84J23dohrXy-jUh3MZukN_Lmxl6FB06e_In3AuXLEKHF9GBroEMXgaRFtTI05j47BUmUv5IXMtAMAsy-QxgDLmroOd6wwmqJlvb5_s6bCL6Q720wO-U0dZ4Z5WavIvpurgsVNv44/h120/head2-namkna-blogspot-com.png) no-repeat top; font: normal 1em "comic sans ms", Helvetica, verdana; color : #666; } .post blockquote div{ background : #E6F1FA url(https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEj1reGnHT-sgDci1YPFHKnZ_gpjCKzkJ1pepoQxP_aPPU2WN5AmwshoKvTeCvwgxWxgWCv9lwR0h1CJL_LYdNkcAcnkuFpUCClK81FmsnoCeTc9udd9i1-RSNkizxE92o-U30ercuqp23w/h120/head-bottom3-namkna-blogspot-com.png) no-repeat bottom; padding-bottom: 50px; } .post blockquote p { margin: 0; padding: 20px; }
Style 20Code:
.post blockquote { margin:1em 20px; } .post blockquote p { margin:.75em 0; } blockquote { background:#EFEFF7; }
Style 21 Code:
blockquote { background-position:-10px -7px; border: 1px dashed #FFC600; margin: 20px 10; padding: 0 20px 0 50px; background: url("https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgr3XYJSB0GWm_SplZKg8ctXsAiTc8IEDqG-5ynyv2H6BUZJSqPmh-K-3mcv7OMthtOnpsyxld7STConatPeeHz9d7yy5EVQZ0lRIVRbbmI2bqgtlFJ_i5o7ZPeUkBPlrB3aOH2AemCtEI/h120/quote-namkna-blogspot-com.png") 5% no-repeat #FFF8DD; }
Style 22Code:
blockquote{ background-color: transparent; border-top: 3px double#DC143C; border-bottom: 3px double #DC143C; padding: 5px; font-style: oblique; font-size: 1em; margin-left: 5%; margin-right: 5%; }
Style 23Code:
blockquote{color: black;font-family:Courier New;font-size:9pt;width:90%px;overflow:auto;repeat-y;max-height:200px;margin:5px 10px;padding: 4px 10px 0px 40px;background:url(https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhO-cc3foKS__6LBfNMB_kAZyJXpCALq_Qqg8QRTL5ZQ_XEX2fmZVB1TqdxLwivlSG-jUTJLghXrBodnzriYZvC7fk7Dgyx653BLRU89JEIOdu2v4sxFXytUAIt47aDN0K4ImYTgbvKF_M/h120/pre_code_bg-namkna-blogspot-com.png) repeat-y left top;white-space: no-wrap;display: block;}
Các mẫu trên chỉ là tham khảo.Bạn có thể chỉnh sửa hình ảnh và code css lại cho phù hợp với cá tính của bạn.Chúc thành công!
0 comments:
Post a Comment