CHINH PHỤC
Bạn có muốn phản ứng với tin nhắn này? Vui lòng đăng ký diễn đàn trong một vài cú nhấp chuột hoặc đăng nhập để tiếp tục.
Đăng nhập

Ghi nhớ
Latest topics
» Tôi sẽ đỗ đại học!
by nightWalker 9/2/2024, 7:00 pm

» Kỷ niệm xưa của chúng ta
by nightWalker 9/2/2024, 6:49 pm

» Bị lệch khung cần người giúp đỡ
by webhuy28 7/10/2021, 10:34 pm

» [HỎI ĐÁP] Danh sách bạn bè không thể hiển thị
by anhdaodaica1 2/10/2021, 10:04 pm

» [HỎI ĐÁP] Thông tin tài khoản không thể lưu thay đổi
by anhdaodaica1 2/10/2021, 6:05 am

» Phim bố già full
by huy.pc52 24/8/2021, 12:20 am

» Xin code Box HTML cho Forumvi
by Larva 1/7/2021, 12:57 pm

» Hello Anh Em Chinh phục
by HoàngTửNaivip5p 28/5/2021, 5:03 am

» Trang chủ tin tức cập nhật HOT 2016
by kenbi05 1/1/2020, 11:02 pm

» Không Dang9 bài viết = hình ảnh được
by huy.pc52 30/11/2019, 10:52 am

» CHÚC ANH EM NĂM MỚI VUI VẺ TRÀNG ĐẦY HẠNH PHÚC
by sps.kủn 12/2/2019, 1:16 pm

» Skin CNTT-K3 2015 (Full Mod)[✔]
by kenbi05 6/7/2018, 12:30 am

» baivong, handsome,....
by sps.kủn 29/6/2018, 1:54 pm

» [SHARE] SKIN ĐHFM.V7 @PUNBB
by tonyhoaivu 2/5/2018, 2:37 pm

» Share Skin Xanh Dương Cùi Bắp
by tonyhoaivu 28/4/2018, 5:57 pm

» Xin Skin http://v1.hotrofm.net/
by tonyhoaivu 28/4/2018, 5:45 pm

» Xin Skin Rao Vặt
by tonyhoaivu 15/4/2018, 12:07 pm

» Làm Sao Để Xóa Khung Này
by tonyhoaivu 14/4/2018, 7:18 pm

» [Lập nhóm]Lập nhóm fm
by vietkanpy 31/3/2018, 11:53 am

» [Help] về server úp ảnh của phutu [✔]
by baivong 17/3/2018, 10:18 pm

» Đừng khóc cho “tôi – Chinh Phục!”…
by AnHung 27/2/2018, 5:33 pm

» [Share] Skin Diendandaihoc.com [ Punbb ] [✔]
by Lu Mờ 13/2/2018, 7:28 pm

» Mời mấy thím vào groups Forumotion Việt Nam.
by dang02315 13/2/2018, 12:40 am

» Có thể làm các kiểu giao diện được không?
by Lu Mờ 9/2/2018, 3:40 pm

» ltns chinhphuc.info
by Shinichi Kudo 27/1/2018, 2:27 am

Top posting users this week
No user


Hướng dẫn làm css từ trang http://13styles.com

Go down

Hướng dẫn làm css từ trang http://13styles.com Empty Hướng dẫn làm css từ trang http://13styles.com

Bài gửi by CPFounder 22/3/2009, 9:23 pm

Thực ra dễ ẹc thôi, chỉ có COPY + PASTE mà thôi.
Chú ý chung : Chèn code css vào ACP>>Display>>Colors>>Css Style sheet thì chép nguyên xi đoạn code dưới đây.
Còn ai có khả năng cao hơn thì chèn vào 1 file .css. Sau đó, dùng html chèn vào.

1/ Matte

Hướng dẫn làm css từ trang http://13styles.com Matte10

Demo : Link
Download: Link File sau khi download về gồm ảnh và file html. View source để lấy code. Upload ảnh lên host cho lấy link trực tiếp.
CSS: Thay mấy cái images/.... thành link ảnh vừa upload
Code:
body {
            padding: 50px;
         }
         /* The CSS Code for the menu starts here */
         #menu {
            font-family: Arial, sans-serif;
            font-weight: bold;
            text-transform: uppercase;
            margin: 50px 0;
            padding: 0;
            list-style-type: none;
            background-color: #eee;
            font-size: 13px;
            height: 40px;
            border-top: 2px solid #eee;
            border-bottom: 2px solid #ccc;
         }
         #menu li {
            float: left;
            margin: 0;            
         }
         #menu li a {
            text-decoration: none;
            display: block;
            padding: 0 20px;
            line-height: 40px;
            color: #666;
         }
         #menu li a:hover, #menu li.active a {
            background-color: #f5f5f5;
            border-bottom: 2px solid #DDD;
            color: #999;
         }
         #menu_wrapper ul {margin-left: 12px;}
         #menu_wrapper {padding: 0 16px 0 0; background: url(images/grey.png) no-repeat right;}
         #menu_wrapper div {float: left; height: 44px; width: 12px; background: url(images/grey.png) no-repeat left;}
         
         /* Black Menu */
         #menu_wrapper.black ul {
            border-top: 2px solid #333;
            border-bottom: 2px solid #000;
            background: #333;}
         #menu_wrapper.black a {color: #CCC;}
         #menu_wrapper.black li a:hover, #menu_wrapper.black li.active a {color: #999; background: #555; border-bottom: 2px solid #444;}
         #menu_wrapper.black {background: url(images/black.png) no-repeat right;}
         #menu_wrapper.black div {background: url(images/black.png) no-repeat left;}
         
         /* Blue Menu */
         #menu_wrapper.blue ul {
            border-top: 2px solid #356AA0;
            border-bottom: 2px solid #204061;
            background: #356AA0;}
         #menu_wrapper.blue a {color: #fff;}
         #menu_wrapper.blue li a:hover, #menu_wrapper.blue li.active a {color: #90CDFF; background: #3D7BBB; border-bottom: 2px solid #356AA0;}
         #menu_wrapper.blue {background: url(images/blue.png) no-repeat right;}
         #menu_wrapper.blue div {background: url(images/blue.png) no-repeat left;}
         
         /* Red Menu */
         #menu_wrapper.red ul {
            border-top: 2px solid #660000;
            border-bottom: 2px solid #450000;
            background: #660000;}
         #menu_wrapper.red a {color: #fff;}
         #menu_wrapper.red li a:hover, #menu_wrapper.red li.active a {color: #F27F84; background: #990000; border-bottom: 2px solid #660000;}
         #menu_wrapper.red {background: url(images/red.png) no-repeat right;}
         #menu_wrapper.red div {background: url(images/red.png) no-repeat left;}
         
         /* Orange Menu */
         #menu_wrapper.orange ul {
            border-top: 2px solid #d15600;
            border-bottom: 2px solid #B44500;
            background: #d15600;}
         #menu_wrapper.orange a {color: #fff;}
         #menu_wrapper.orange li a:hover, #menu_wrapper.orange li.active a {color: #FA9B5B; background: #B44500; border-bottom: 2px solid #d15600;}
         #menu_wrapper.orange {background: url(images/orange.png) no-repeat right;}
         #menu_wrapper.orange div {background: url(images/orange.png) no-repeat left;}

HTML: chọn 1 trong các loại menu sau (coi theo màu)
Code:
<!-- Grey Menu -->
      <div id="menu_wrapper" class="grey">
        <div class="left"></div>
        <ul id="menu">
            <li><a href="#">Home</a></li>
            <li class="active"><a href="#">About</a></li>
            <li><a href="#">Services</a></li>
            <li><a href="#">Products</a></li>
            <li><a href="#">Contact</a></li>
        </ul>
      </div>
     
      <!-- Black Menu -->
      <div id="menu_wrapper" class="black">
      <div class="left"></div>
        <ul id="menu">
            <li><a href="#">Home</a></li>
            <li class="active"><a href="#">About</a></li>
            <li><a href="#">Services</a></li>
            <li><a href="#">Products</a></li>
            <li><a href="#">Contact</a></li>
        </ul>
      </div>
     
      <!-- Blue Menu -->
      <div id="menu_wrapper" class="blue">
      <div class="left"></div>
        <ul id="menu">
            <li><a href="#">Home</a></li>
            <li class="active"><a href="#">About</a></li>
            <li><a href="#">Services</a></li>
            <li><a href="#">Products</a></li>
            <li><a href="#">Contact</a></li>
        </ul>
      </div>
     
      <!-- Red Menu -->
      <div id="menu_wrapper" class="red">
      <div class="left"></div>
        <ul id="menu">
            <li><a href="#">Home</a></li>
            <li class="active"><a href="#">About</a></li>
            <li><a href="#">Services</a></li>
            <li><a href="#">Products</a></li>
            <li><a href="#">Contact</a></li>
        </ul>
      </div>
     
      <!-- Orange Menu -->
      <div id="menu_wrapper" class="orange">
      <div class="left"></div>
        <ul id="menu">
            <li><a href="#">Home</a></li>
            <li class="active"><a href="#">About</a></li>
            <li><a href="#">Services</a></li>
            <li><a href="#">Products</a></li>
            <li><a href="#">Contact</a></li>
        </ul>
      </div>


Được sửa bởi Eagle8x ngày 22/3/2009, 9:28 pm; sửa lần 1. (Reason for editing : Bổ sung)
CPFounder
CPFounder
CPAdministrator
CPAdministrator

Firefox PunBB
Ngày đăng ký : 09/04/2008
Số bài : 6169
CPP : 3352
Châm ngôn sống : Vì tương lai Chinh phục chúng ta

http://www.chinhphuc.info

Về Đầu Trang Go down

Hướng dẫn làm css từ trang http://13styles.com Empty Re: Hướng dẫn làm css từ trang http://13styles.com

Bài gửi by CPFounder 22/3/2009, 9:33 pm

2/ Simple Hover :

Demo : Link
Download : Link Làm y các bước bài trên
CSS:
Code:
ul#blue { margin:0; padding:0; list-style-type:none; }

ul#blue li { position:relative; float:left; border-top:4px solid #efefef; margin-right: 15px; padding-right: 20px; padding-top: 5px;}

ul#blue .current { border-top:4px solid #3d496a;}

ul#blue li:hover { border-top:4px solid #3d496a;}

ul#blue li a { padding:2px 2px; text-decoration:none; font:bold 12px Verdana, Georgia, "Times New Roman", Times, serif; color:#68759c;}

ul#blue li a:hover { color:#8895b8; border:none; }

ul#blue li span{ display:none; position:absolute; top:20px; left:2px; width:160px; font:normal 9px Verdana, Georgia, "Times New Roman", Times, serif; line-height: 15px; }

ul#blue li a:hover span {margin-top: 7px; display:block; color: #8895b8;}






ul#green { margin:0; padding:0; list-style-type:none; }

ul#green li { position:relative; float:left; border-top:4px solid #d7ebd5; margin-right: 15px; padding-right: 20px; padding-top: 5px;}

ul#green .current { border-top:4px solid #3c633c;}

ul#green li:hover { border-top:4px solid #3c633c;}

ul#green li a { padding:2px 2px; text-decoration:none; font:bold 12px Verdana, Georgia, "Times New Roman", Times, serif; color:#3d6c3d;}

ul#green li a:hover { color:#89be89; border:none; }

ul#green li span{ display:none; position:absolute; top:20px; left:2px; width:160px; font:normal 9px Verdana, Georgia, "Times New Roman", Times, serif;  line-height: 15px;}

ul#green li a:hover span {margin-top: 7px; display:block; color: #89be89;}






ul#red { margin:0; padding:0; list-style-type:none; }

ul#red li { position:relative; float:left; border-top:4px solid #edcbcb; margin-right: 15px; padding-right: 20px; padding-top: 5px;}

ul#red .current { border-top:4px solid #953434;}

ul#red li:hover { border-top:4px solid #953434;}

ul#red li a { padding:2px 2px; text-decoration:none; font:bold 12px Verdana, Georgia, "Times New Roman", Times, serif; color:#953434;}

ul#red li a:hover { color:#b17878; border:none; }

ul#red li span{ display:none; position:absolute; top:20px; left:2px; width:160px; font:normal 9px Verdana, Georgia, "Times New Roman", Times, serif;  line-height: 15px;}

ul#red li a:hover span {margin-top: 7px; display:block; color: #b17878;}
HTML: Có thể thay các dòng trong thẻ span thành câu chú thích tùy ý
Code:
<ul id="blue">
      <li class="current"><a href="#" title="">Home<span>This takes you to the welcome page of the website - the starting point for everything.</span></a></li>
      <li><a href="#" title="">About Us<span>We are a great team of people, with lots of fantastic things to offer.</span></a></li>
      <li><a href="#" title="">Portfolio<span>Our portfolio showcases all the work that we've done for the past few weeks.</span></a></li>
      <li><a href="#" title="">Music<span>We also love to listen to some tunes while we work. Here we're sharing them with you all!</span></a></li>
      <li><a href="#" title="">Contact Us<span>If you would like to get in touch with us, you can do so here via email or telephone.</span></a></li>
   </ul>
   
   
<br /><br /><br /><br /><br /><br /><br />

   <ul id="green">
      <li class="current"><a href="#" title="">Home<span>This takes you to the welcome page of the website - the starting point for everything.</span></a></li>
      <li><a href="#" title="">About Us<span>We are a great team of people, with lots of fantastic things to offer.</span></a></li>
      <li><a href="#" title="">Portfolio<span>Our portfolio showcases all the work that we've done for the past few weeks.</span></a></li>
      <li><a href="#" title="">Music<span>We also love to listen to some tunes while we work. Here we're sharing them with you all!</span></a></li>
      <li><a href="#" title="">Contact Us<span>If you would like to get in touch with us, you can do so here via email or telephone.</span></a></li>
   </ul>
   
   
   
   
<br /><br /><br /><br /><br /><br /><br />

   <ul id="red">
      <li class="current"><a href="#" title="">Home<span>This takes you to the welcome page of the website - the starting point for everything.</span></a></li>
      <li><a href="#" title="">About Us<span>We are a great team of people, with lots of fantastic things to offer.</span></a></li>
      <li><a href="#" title="">Portfolio<span>Our portfolio showcases all the work that we've done for the past few weeks.</span></a></li>
      <li><a href="#" title="">Music<span>We also love to listen to some tunes while we work. Here we're sharing them with you all!</span></a></li>
      <li><a href="#" title="">Contact Us<span>If you would like to get in touch with us, you can do so here via email or telephone.</span></a></li>
   </ul>
CPFounder
CPFounder
CPAdministrator
CPAdministrator

Firefox PunBB
Ngày đăng ký : 09/04/2008
Số bài : 6169
CPP : 3352
Châm ngôn sống : Vì tương lai Chinh phục chúng ta

http://www.chinhphuc.info

Về Đầu Trang Go down

Về Đầu Trang

- Similar topics

 
Permissions in this forum:
Bạn không có quyền trả lời bài viết