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/AVvXsEjzm-r-hH8lt7y2E7cZjM8Tsz2BzK8Y8KxvUQbr-oV7h0aLnIZego1m7CQO-JBuH4Q39GsCzY4ZpBrS1fvc0XM6L_x9rSGaKwHFSmrJKo7XbnZBXskPPUOarv9EFrJ9httS3rTE8aTnMEU/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/AVvXsEgZ6cESZ41_4UPK0dJjO5LdOSQwD5A8YdgMzWOTx78C2VF8sEJKJ3nBwd9RUMuYUp1vGj_F86SkhcXDEL_ICBXfF52IzelWSklV-C0toYqu3DJY2SKj402FpyAbiBU3L__XfO6z-ehYINA/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/AVvXsEhku_oymwQbCqKL7Ne_20J_cqglKc1s6vvRvBLk9KJp3oq3FPtkBtWy6JpRKp5ZNVCAcWyLbyJE6y9D8Bechukx9nJBTDBlug2ZnVMfPDoViKD1iLUhCb_enyF74HMcYJOUMGyZSEHaGdg/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/AVvXsEgEyGD5XlcLxsiJTjkDIiFJraURAaURP7sEG300vRh7Z93MFHxE_zmoE8ue8WyOf2dbTo2cT1YwJghHbfcCWOIaWPAth17evaImfFG3g72Uo7qFtq4Cen0ANNpU0XdFmAEU-hSVyKSD2iQ/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/AVvXsEiZTJqWVgaVQXDgq6hajw0CETLGkC8ikavBDQYnOGesBdKDK08BSWjsQecsuh3C8VKNQ3HBZXxZQmh9vblkYa7hzrOOa6M7TDuO_RJ2Cfgc8hsW9NuUcf4rxkzASbcECJbrFTKIbibAHzg/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/AVvXsEjRLbuceyJ6PajR45ioQOsDbArGxYPxgVZ-YU1nnHb7jKO8W2afgnwTVvoV_szGxC514sSf_NBhlKjN-S-yFs8i7flUqy64b6cfLtyUC8aBlhW1DtW3fud0GBdgO58zXBoCUmpL5Yxqmzs/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/AVvXsEgbFuhiTFtVgN4siGAo8H2K0XppgeuA9qmS7q7sjhK2UJJwcbNAHEnEdjz8i16XdmFUgsa9VVNjQVLGuqqQiSVveixZyML3awYKSjGr8j1CijpPvUa8OPmYu9DJD2T134u_HXBB0DR6MC8/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/AVvXsEgRhKT00VI0AVnQ-WuV8BqQ9atYi_Mdr5MnoCQvxr-Wul6sJadfCYLx1PfiAVsbc-DXUPiu2oTM7vzXmbkG7KAG0ePqy3oHNFjTIiFoZWQs416cZ1J8jCmkv__Tu6IU98QPg0lT1Sr1DAg/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/AVvXsEjM1f4jnffPsmckB0J_bgl-BpUGzXo9jgRS5H5xHfSLa2nwd-srpKzjnPFgqd8FD7OHPuEPraNWzKzkwkzvDEweIitJHg2rQ54NctFxpJ0DInX95IlenTzQwd3zRSp7vuUoaaPNzUTEbcw/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/AVvXsEg7T0IygCaVSB5o_P0R9FwqN-UfDC6_nM4GvQ0GnkCe4cls3z2IW7f6EqvxXHOvKzeIlMLVu67qM7RDlwIcxaslz3_n0_XNjxiILrXkmI5CAis9fEgN9dgtygdBYDOgRTgRQ-nHUWhiEeM/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/AVvXsEgPA41h_reDJAFkBXsOZxlYphgMrz3rnNlMlHAjtYit727c2FjhNwuTgMwqC2BUhfIb4poxWktjydrFDzcci3RHePohYiEmYXnd9Svlxdq9Dcq5NVqhU2E3tyPa9uae7KvlP4hXtIghvnY/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/AVvXsEhvTQQJGXLreSN_WLlH_hsqimaWnWfKY9mU247DOipAuCwi7P5EtO5_9dAAZcVx3I5qhg70Vz4D_gPOaejZOthdVcD_loCU7CnEKswJPbThV6lYIa0QmohA8qzYx93vPSIS6bDFJgxvau4/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/AVvXsEgeNvAfMjRpAsI7JFze8aEDV2XOxaKeGbrkhBmPDiQawPw16iYJs4QkcWzg0JKZ-6nD8ZHVGIxedIO4jbfoamzvXOBpyL3dOsn815gAEt8ZzaFCFpQktj20Yp4_OaUjxNNTP7CXe2v-_tM/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/AVvXsEjMmHtma8JrOpel2SKHZvK96xmdv0fZpKB2vcrXZsDh9bqn6oq7Ztbw4_GDruRFp-8FnwwZ06yUb-y0MkyRLeJG9prNPO8M8e1KyNFSTIVwP9J_xn5IFA-pTrSWK3PoUoP8BXOgIWzw230/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/AVvXsEgbhKphYJ3iTIiqTqRbqIvScTTE1pV8xQSKTQJXU-X6Ue-q_1mgIg7tkjssnWobvvbdPg6ntxpon1xNLUfEd5vxH8U-MIdmEWMOvSFQvkF5Ox6a5oqSXDTB0uaz5E3b0AIEOtaUMPRBtWM/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/AVvXsEh6L_2V0s1jDs5RfBw2O1gYkad6We2z2yX56Zo-UT_AkVuhSvzt4UmVYdcLpKRDf6I3xAFf-ZAoAjDPtyIRYPiqcnUyFfq5Q9BVRL9vF7ksQDiqGCMiqcOG3LVd7v2AJCzf1TLOV4R3B2w/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/AVvXsEipKLK3uMl4NRziFWz50Fz3hf_nLdPfCWoPd55j_dQGbzDaYDSXGawjwuEAa0_oyYEapct6tRDk4wLf8spcOUujH_T5O-iUMrEC6trCcpswFZ9LtxA8IyIqdXxhBGD1tWQOeY5PRcudCLs/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/AVvXsEjCGDngCxqlUEqPjOpYvT6IKZ7vcKjEZyHYWrBJ5elsQHP5ivqytQqQSFeEZjvXMV0oip9kEXz2xiqeJDiXX4jsxh6MBgwXu5yS_GNKNlHPmG5Q-6D9QNda15txpzi5prlOMJ8xzjmphNg/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/AVvXsEjDkUbvT_-mJf5Acz2QyFv6ShhgaoP6w8rHWZONNBag8tz2tz1KEowamXDuS9JeGSEaS971P1wQEPCoCVqVz4KKSECvFEoS3_cg1J8P4rBXkgQ1tcdO8LKfWwoDgLH1R5Rx_cALsIYyhrY/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/AVvXsEgfN7DmzBGYCgwwTcNWNeTKPyF7OinXx3_JWpJWkRSgonl0soy5oBPw3EgDfxww2FWr4xC6Xtxd37tBNL4EMqhGHcSLeSroTJsAcF-xscY0IXb1J1kpHkFWQrDTKW5Dsn2rsy3gFoS6rEE/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/AVvXsEimGhSo943tgOPiqAy1MyOkvXiMkRHZF7Ztvqzk4tAkrGIyPQ6cpq3Vbmv6dzUnF-CRjn1-r2eFMOkl1QBjwCVMvsTiDl8mnku9KSuDArAsgrJVQt1VVKiReqjJbbDhUXAoDKju5j9hiEE/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/AVvXsEgXCtjLdl1R32Un8BAs9g9gCf0awoSPgOTL1W0EvqWl_ChnI-UxbbRCj9-naOHHnMs2qUxCSTSSemWKYMxHbMHlVj-2lid2S1TJGt2xxHWuP0xH_TcYiBwcxAqUR-iJNIwtVNKia_7PtAg/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/AVvXsEgofa0p7dibXx4N7ryUgXzbz7hbZGEN-tcHVQ_PFeg6fTGeuCWg_VueadlKo3DaxEMQtBscQ68oy-2P7-XtGPs8xjMltUi98zB3BJ4EU4ZrnI38RzYFh8AKvnR8CcgPsQ0h-dB22CyXzlM/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 nhận xét:
Đăng nhận xét