Home » thủ thuật blogspot
Chủ Nhật, 28 tháng 12, 2014
Thiết lập dạng responsive cho Blogger template
Thiết lập dạng responsive cho Blogger template
22/08/2014 | Thủ thuật, Thủ thuật Blogger,
Responsive Blogger template đang là xu hướng lựa chọn của rất nhiều blogger. Với thiết kế responsive, blog của bạn sẽ hiển thị độ rộng tương thích với tất cả các thiết bị máy tính, di động. Hiện nay các template dạng responsive dành cho Blogger được chia sẻ khá phổ biến. Hôm nay mình sẽ hướng dẫn các bạn một cách đơn giản để thiết lập dạng responsive cho blog.
Bước 1: Tại trang quản trị, các bạn vào Mẫu > Chỉnh sửa HTML, chèn đoạn code sau vào trước thẻ đóng </head>:
<meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1"/>
Bước 2: Chèn đoạn code sau vào trước thẻ ]]></b:skin> là bạn đã hoàn thành thủ thuật:
@media screen and (max-width : 1280px) {
/* CSS FOR NETBOOK AND DESKTOP ------------*/
}
@media screen and (max-width : 1024px) {
/* CSS FOR TABLETS ------------*/
}
@media screen and (max-width : 768px) {
/* CSS FOR SMALL TABLETS ------------*/
}
@media screen and (max-width : 640px) {
/* CSS FOR IPHONE ------------*/
}
@media screen and (max-width : 480px) {
/* CSS FOR MOBILES ------------*/
}
@media screen and (max-width : 320px) {
/* CSS FOR SMALL OLD MOBILES ------------*/
}
Những dòng in đậm chính là code CSS tùy chỉnh tương ứng của bạn.
Nếu bạn chưa am hiểu về code thì có thể comment bên dưới để mình giúp đỡ.
Chúc các bạn thành công !
Thiết lập dạng responsive cho Blogger template
Thiết lập dạng responsive cho Blogger template
Thiết lập dạng responsive cho Blogger template
You may also...
Hot
-
Xin chào các bạn . hôm nay chúng ta cùng đến với vấn đề làm sao để xác làm được một cái chứng minh thư giả để phục vụ c...
-
Xây dựng liên kết 6 cách tìm kiếm diễn đàn chất lượng Chào mừng các bạn đến với PhucNguyenIT Blogs, tôi là Phúc Nguyễn Nga...
-
6 Điều đừn nên làm, đừng trả lời khi đang buồn,đừng hứa khi đang vui,đừng quyết định khi đang giận,đừng quá cô đơn mà cầm n...
-
Thư gửi mẹ - truyện ngắn hay cảm động Vợ của anh vì một lý do ngoài ý muốn đã qua đời được 4 năm, anh vì không có cách nào có thể...
-
Tăng tốc độ lướt web bằng thay DNS Tăng tốc độ truy cập mạng trong giai đoạn cáp quang AGG bị đứt là một vấn đề có kha...
-
Những điều cấm kỵ trong ngày mồng 1 tết Những điều cấm kỵ trong những ngày tết chúng ta nên biết và nên tránh,những ngày...
-
Default Responsive Personal Blog Blogger Template This theme was designed by ‘ Josh Peterson ‘. Social bookmark, related post widget, multi...
-
Tùy chỉnh và tạo hiệu ứng tuyết rơi cho blog Tạo hiệu ứng tuyết rơi cho blogger, tùy chỉnh tuyết rơi vào blog, thêm code hiệu ứng tuyế...
-
cách kiểm tra xem bạn đang xài nhà mạng nào fpt hay vnpt , viettel Cách test tốc độ mạng Internet VNPT, FPT, Viettel - Speedtest.n...
-
Tự động đăng bài lên tất cả các groups trên facebook Auto đăng bài lên các nhóm trên facebook, tự động đăng tin lên các gro...
Comments[ 0 ]
Đăng nhận xét