Skip to content

Instantly share code, notes, and snippets.

View Truesun's full-sized avatar
🏠
Working from home

Truesun Truesun

🏠
Working from home
View GitHub Profile
@Truesun
Truesun / gist:2398249
Created April 16, 2012 12:04
Copmass note
@import "compass/pie";
/*不知道怎麼安裝,官網上寫compass install compass/pie,但不知道去哪找這個檔案*/
/*http://compass-style.org/reference/compass/css3/pie/ */
@Truesun
Truesun / look for
Created April 3, 2012 09:09
jquery & YUI
YUI
//按鈕切換
Y.one('#fc_face').on("click",function(){//切換表情
Y.one('#message').focus();
Y.one('#fc_face').addClass('btnSubmitUI_s');
Y.one('#fc_face').removeClass('btnCancelUI_s');
Y.one('#fc_number').removeClass('btnSubmitUI_s').addClass('btnCancelUI_s');
Y.one('#fc_more').removeClass('btnSubmitUI_s').addClass('btnCancelUI_s');
Y.one('#fc_faceList').show();
Y.one('#fc_numberList').hide();
@Truesun
Truesun / html
Created March 30, 2012 03:59
test
<body style="color:#fff; font-family:Verdana, Geneva, sans-serif;">
<h3 style="font-weight:bold; font-size:13px; border-bottom:solid 1px #eee; padding:2px 0;">名稱:測試投票</h3>
<p style="margin-bottom:8px; padding:5px 0;">
宗旨:com'ono<br>
此次投票你可以投 <span id="remain-votes">2</span> 票。
</p>
<div class="grid">
<ul style="padding:0 0 0 5px; margin-bottom:8px;">
<li><input name="" value="" type="checkbox"> a</li>