transform: rotate(20deg);
-webkit-transform: rotate(20deg); Chome
-moz-transform: rotate(20deg);      Firefox
-o-transform: rotate(20deg);

cabuchi 發表在 痞客邦 留言(1) 人氣()



<body>
<header>...</header> <nav>...</nav>
<article>
<section>
...
</section>
</article>
<aside>...</aside>
<footer>...</footer>
</body>

cabuchi 發表在 痞客邦 留言(0) 人氣()


當你使用最新的HTML5標籤
<header></header>
<nav></nav>
<article></article>時

cabuchi 發表在 痞客邦 留言(1) 人氣()

CSS Hank
來源:http://www.blog.e-creative.tw/archives/531
 

cabuchi 發表在 痞客邦 留言(0) 人氣()

現在CSS3仍不支援IE8以下(包含IE8)
所以在設定圓角、陰影、漸層(Gradient Background)等,在IE都沒有效果
所以都要另外做圖片來滿足
 

cabuchi 發表在 痞客邦 留言(0) 人氣()

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<script type="text/javascript" src="./jquery-1.7.1.js"></script>
<title>減法寫法radio and checkbox</title>
<script>
$(document).ready(function(){
      $('.c1').change(function(){
            $('li').hide();
            $('.c1:checked').each(function(){
                $('li.' + $(this).val()).show();
            })    
      });
});
</script>
</head>
<body>
<label><input type='checkbox' class='c1' value='a' />中國</label>
<label><input type='checkbox' class='c1' value='b' />美洲</label>
<label><input type='checkbox' class='c1' value='c' />日本</label>
<div class='all_city'>
<ul>
<li class='city a'>西藏</li>
<li class='city a'>四川</li>
<li class='city b'>西雅圖</li>
<li class='city b'>波士頓</li>
<li class='city c'>京都</li>
<li class='city c'>大阪</li>
</ul>
</div>
</body>
</html>

cabuchi 發表在 痞客邦 留言(0) 人氣()

<!DOCTYPE html>
<html>
<title></title>
<head>
<script type="text/javascript" src="jquery-1.7.1.js"></script>
<script type="text/javascript">
$(document).ready(function(){
    $menu = $('.block-content');
    $menu.before('<ul class="map_left"></ul><ul class="map_center"></ul><ul class="map_right"></ul>');
    
     /* .each(裡面記得要加上index)
        children('li')只有指定下一層的ul,不會連下下層一起指定
     */
    
    $menu.children('ul').children('li').each(function(index){
    if( index <= '2'){
        $(this).appendTo($('.map_left'));  /*選擇你要移動的資料.appendTo(移動到哪裡去)*/
        /*$('.map_left').append($(this));  等同於下面寫法*/
    }
    else if( index == '3' )
        $('.map_center').append($(this));
    else if( index > '3')
        $('.map_right').append($(this));
    
    });
        
});
</script>
<style type="text/css">
.map_left{
    float:left;
    width:200px;;
    background:red;
}
.map_center{
    float:left;
    width:200px;
    background:pink;
}
.map_right{
    float:left;
    width:200px;
    background:yellow;
}
</style>
</head>
<body>
<div class='block-content'>
<ul class='menu'>
    <li class='first leaf menu-item-230'>Home</li>
    <li class='expanded menu-item-533'>Solutions
    <ul>
    <li>1</li>
    <li>2</li>
    <li>3</li>
    </ul>
    </li>
    <li class='leaf menu-item-530'>Success Stories</li>
    <li class='expanded menu-item-459'>Products</li>
    <li class='leaf menu-item-463'>Partners</li>
    <li class='last expanded menu-item-464'>Supports</li>
</ul>
</div>
</body>
</html>

cabuchi 發表在 痞客邦 留言(0) 人氣()

<!DOCTYPE html>
<html>
<title></title>
<head>
<script type="text/javascript" src="jquery-1.7.1.js"></script>
<script type="text/javascript">
/*
 * 1.先手動寫出你要的tab項目 並新增以下class項目:個別名稱 第一個已經被選:tab-active
   2.第一頁之外的其他 全部隱藏
   3.按下tab: 全部清除(清除預設的第一個tab-active ->動態新增已選取的class name
   4.
 */
$(document).ready(function(){
    $('.product, .download').hide();
    var $tab = $('.tab_list').find('li');
    $tab.click(function(){
        $tab.removeClass('tab-active');
        $(this).addClass('tab-active');/*動態新增以選取的class*/
        $('.home, .product, .download').hide();/*點選後 先全部隱藏*/
                
        if($(this).hasClass('t2')){
            $('.product').show();
        }
        else if($(this).hasClass('t3')){
            $('.download').show();
        }
        else if($(this).hasClass('t1')){
            $('.home').show();
        }
                
    })
     
});
</script>
<style type="text/css">
ul li {
    list-style: none;
    margin-right: 10px;
}
</style>
</head>
<body>
<div class='all'>
<div class='tab_list'>
<ul>
    <li class='t1 tab-active'>Home</li>
    <li class='t2'>Product</li>
    <li class='t3'>download</li>
</ul>
</div>
<div class='home'>home content</div>
<div class='product'>peoduct content</div>
<div class='download'>download content</div>
</div>
</body>
</html>

cabuchi 發表在 痞客邦 留言(0) 人氣()

  • Jan 05 Thu 2012 16:59
  • TEST

cabuchi 發表在 痞客邦 留言(0) 人氣()

以下的meta標籤  皆要放於<head></head>裡面
關於meta標籤,是為了讓搜尋引擎裡面的小蜘蛛看到你網頁是甚麼內容
可以提高你自己網站的曝光率,達到SEO網頁優化的作用

cabuchi 發表在 痞客邦 留言(0) 人氣()


當兩顆心開始震動
當你瞳孔學會閃躲
當愛慢慢被遮住只剩下黑
距離像影子被拉拖
當愛的故事像聽說
我找不到你單純的面孔
當生命每分每秒都為你轉動
心多執著就加倍心痛
那些你很冒險的夢 我陪你去瘋
摺紙飛機 碰到雨天 終究會墜落
太殘忍的話我只說 因為愛很重
你卻不想懂 只往反方向走
當愛的故事像聽說
我找不到你單純的面孔
當生命每分每秒都為你轉動
心有多執著就加倍心痛
那些你很冒險的夢 我陪你去瘋
摺紙飛機 碰到雨天 終究會墜落
太殘忍的話我只說 因為愛很重
你卻不想懂 只往反方向走
我不想放手 你放開的左手
歷來的放縱 我再不會變空
捂住了淚了都已再也不回頭
那些你很冒險的夢 我陪你去瘋
摺紙飛機 碰到雨天 終究會墜落
太殘忍的話我只說 因為愛很重
你卻不想懂 只往反方向走
你真的不懂 我的愛已降落

cabuchi 發表在 痞客邦 留言(0) 人氣()

建立基本的Content types(http://www.youtube.com/watch?v=_BC93qHZNDY&feature=mfu_in_order&list=UL)
新增一個樣式組合,
設定好名稱後,要愛設定field,把每個選單的格式設定好。

cabuchi 發表在 痞客邦 留言(0) 人氣()

Blog Stats
⚠️

成人內容提醒

本部落格內容僅限年滿十八歲者瀏覽。
若您未滿十八歲,請立即離開。

已滿十八歲者,亦請勿將內容提供給未成年人士。