8/18ã«ãããªãããCSS Nite in OSAKA, Vol.32ã§ã®çºè¡¨ç¨ã¹ã©ã¤ãã§ãã4/27ã®CSS Nite in OSAKA, Vol.29ã§ä½¿ç¨ããã¹ã©ã¤ãããã¼ã¹ã«ãè¥å¹²ã®è¿½è¨ã»ä¿®æ£ãããå 容ã¨ãªã£ã¦ãã¾ããRead less
Twitter ã§åä¸ããªãªã¼ã¹ããããã¨ãè¨ã£ã¦ãããªããå ¨ç¶åºæ¥ã¦ãã¾ããã§ãããããã£ããã®ã¯ãªã¹ãã¹ãªã®ã§ãå ¬éãã¦ã¿ããã¨ã«ãã¾ãããã³ã¼ããããªãæ±ãã§ãããä¸å¿æå³éãåãã¦ã¾ãã®ã§ããæ£æã¨ãã«ããã¥ã¡ã³ãæ¸ããããªãã¡ã¯ã¿ãªã³ã°ããã¤ããã§ãã åå㯠Smoochy(ããã¼ã¡ã¼) ã§ããç±æ¥ã¯ä½ã£ã¦ãæã«ããè´ãã¦ããåæ¬é¾ä¸ã®ã¢ã«ãã åããã 以ä¸èª¬æã ã¯ããã« Smoochyã¨ã¯? Smoochy 㯠PHP ã§ä½ããããã³ãã¬ã¼ãã¨ã³ã¸ã³ã§ããSmoochy 㯠Pure HTML ããã³ãã¬ã¼ãã¨ãã¦ä½¿ç¨ãããããæ¬å½ã®æå³ã§ããã¶ã¤ã³ã¨ãã¸ãã¯ã®åé¢ããå®ç¾ãã¦ãã¾ãã ç¬èªã¿ã°ãç¬èªå±æ§ãã¾ãã¦ã {$hogehoge} ã®ãããªãã¼ã¯ã¢ãããå¿ è¦ããã¾ããã ã¤ã³ã¹ãã¼ã« bitbucket.org ãã Smoochy.zip ããã¦ã³ãã¼ããã¾ãã
ããã¶ã¤ã³ã¯ç´ æµãªãã ãã©ãæºå¸¯ã§ããã¯ã¡ãã£ã¨ã§ããªããªã¼ãã¨ãããç¡çã§ã¯ãªããã©ã§ããã°é¿ãã¦ãããæ¹ãããããªã¼ãã£ã¦ãããã¶ã¤ã³ãããã£ã¦ãããã¨ãå¤ãä»æ¥ãã®é ã ã¢ãã¤ã«ã³ã¼ãã£ã³ã°ãããæ £ãã¦ãã人ãããªãã¨ã¢ãã¤ã«ã§ã§ãããã¨ã§ããªããã¨ãcssã使ããªãã¨å®ç¾ã§ããªããã¨ãtable使ããªãã¨å®ç¾ã§ããªããã¨ããªã©ãåããã«ããã¨æãã®ã§å½ç¶ã ã¨ã¯æãã®ã§ããã ã§ãããç¥ã£ã¦ããã®ã¨ç¥ããªãã®ã¨ã§ã¯å·¥æ°ãããªãéã£ã¦ãã¾ãã ä¸æ¦ãã¶ã¤ã³ãã¦ãã³ã¼ãã¼ã«ãããè¦ãã¦ãã³ã³ã¨ã³ã³ã¨ã³ã³ã¯å®ç¾ä¸å¯è½ãããç´ãã¦ãã ããããã§å·®ãæ»ããããã¶ã¤ã³ãããç´ãã¦ã£ã¦ãªãã¨ããã¶ã¤ã³ã2度æéããã¶ã¤ã³ããã§ãã¯ãã¦ç¡çãªé ç®ãæ´ãåºãã³ã¼ãã¼ã«ãä½è¨ãªæéããããã¾ãã ä»åæ´ãã ããé ç®ã¯ããªããèªåãã³ã¼ãã¼ãªã®ã§ãã³ã¼ãã¼ããã¶ã¤ã³ãã¡ã¤ã«ãããã£ãæã«ãã¼ãã¨è¦ã¦ãã§ã
CSSã§ãªã¹ããæ´å½¢ãããªãè¦ãã¦ããã¹ãï¼ã¤ã®ãªã¹ããã¶ã¤ã³ãµã³ãã«éã ãªã¹ããã¶ã¤ã³ã¨ããã¨ãCSSã®æ´å½¢æ¹æ³ã«ãã£ã¦æ§ã ãªè¦ãæ¹ãå¯è½ã§ãããã½ã¼ã¹ã³ã¼ãï¼ãã¥ã¼ããªã¢ã«ä»ããã¾ã¨ã¾ã£ãã¨ã³ããªãå ¬éããã¦ãã¾ãã ãªã¹ããã¶ã¤ã³ã®éã¯ããã¤ãå調ã«ãªããã¡ãã¨ããæ¹ã¯è¦ãã¦ããã¨ãã¡ãã£ã¨å¤ãã£ããã¶ã¤ã³ãä½ãããã§ããããã¯ããã¯ãé§ä½¿ãã¦ã¾ã£ããæ°ãããã¶ã¤ã³ãèãããã¨ãåºæ¥ããã ããã§ã¯ä»¥ä¸ã«ãã®ãã¶ã¤ã³ããããªã¹ãã®ãµã³ãã«ããç´¹ä»ã 1. ãµã¤ãã®ããã²ã¼ã·ã§ã³é¢¨ã«ãã¶ã¤ã³ããããªã¹ã 2. çªå·ä»ãï¼çªå·ã®æ¨ªã«ç¸¦ã®ã©ã¤ã³ãã¯ãã£ãè¦ããããªã¹ã 3. ç¢å°ç»åã使ã£ããªã¹ã 4. iPhoneã¹ã¿ã¤ã«ã®ã¯ã¼ã«ãªããã¯ã¹ãªã¹ã 5. ããªã¼ã£ã½ãå½¢å¼ã«ã§ãããªã¹ããã¶ã¤ã³ 6. è¤æ°è¡ã«ãã¦ããã¹ãã£ã½ã表示ã§ããããã¹ããªã¹ã 7. ã¯ã³ã©ã¤ã³ã«ãã¦ãã«ã³ããä»ä¸
Haml/Sass ã®æ®åãç®çã¨ããã¦ã¼ã¶ã°ã«ã¼ãã§ããRails åå¼·ä¼@æ±äº¬ã®åç§ä¼ã®ãããªä½ç½®ä»ãã§æ´»åãã¦ãã¾ããç¥ç§°ã¯æ¥æ¬ãã ã§ãã æ´»åå 容 Haml/Sass ã«é¢ããæ å ±äº¤æ (Rails åå¼·ä¼@æ±äº¬ãã¾ã㯠irc.freenode.net ã® #rails-tokyo ãã£ã³ãã«) å種ã¤ãã³ãã«ããã Haml/Sass ã®å®£ä¼ ãªã¼ãã³ã½ã¼ã¹ãããã¯ãã« Haml åããããæãã
JavaScript ã¯ã©ã®ããã«å®è¡ãããã Safari*1 ã®å®è£ ãä¾ã« JavaScript ã¯ã©ã®ããã«ãã¦å®è¡ããã¦ããããæ¸ããèªåç¨ã®ã¡ã¢ãæ¥æ¬èªã®åºæ¥ã¯æ°ã«ããªã 1. ãã©ã¦ã¶ãèµ·åãã¦ä»¥ä¸ã®ãããªãã¼ã¸ãéããã¨ãã <html> <head> <script> var a = 1; var b = 2; alert(a + b); </script> </head> <body> </body> </html> 2. ã¤ã³ã¿ã¼ããããããã¼ã¿ãå°çãã ãããã㨠WebCore::FrameLoader::write ã¨ããé¢æ°ã«çã®æååã渡ããããå㯠char* ã ã http://trac.webkit.org/browser/trunk/WebCore/loader/FrameLoader.cpp#L990 ãã®é¢æ°ã®ä¸ã§ã¯ãå°çããæåã®æåã³ã¼ãã解
Elements of Designã¯ãããã°ãªã©ã®ã¦ã§ããµã¤ãã§ãã使ãã¨ã¬ã¡ã³ãã®ãã¶ã¤ã³ãéãããµã¤ãã§ãã
IE6以ä¸ãWebæ¨æºã«æºæ ãããã©ã¤ãã©ãªãIE7.jsã å¤ãã®äººãå¾ ã¡ã«å¾ ã¡æãã ã©ã¤ãã©ãªããã¯ãããã人ã¯ããããã®ãä½ããã§ããã ãã®ã©ã¤ãã©ãªãèªã¿è¾¼ããã¨ã«ããIE6以ä¸ã§ãIE7ã¨åããããªXHTM/CSSã®è§£éãè¡ã£ã¦ããã¾ãã ãã ãå®å ¨ã«IE7ã¨åããããªå½¢ã«ããã®ã§ã¯ãªããããè¿ãå½¢ã¨ãããã¨ã§ãã ç¾å¨å ¬éããã¦ãããã¼ã¸ã§ã³ã¯version 2.0 (beta)ã¨ãããã¨ã§ãã¾ã å®åã§ä½¿ãã®ã¯é£ããããããã¾ããããMITã©ã¤ã»ã³ã¹ã§å ¬éããã¦ããã¾ãã®ã§æ£å¼ã«ãªãªã¼ã¹ãããã°webå¶ä½ã®ç¾å ´ãå¤ãã¦ãã¾ãã©ã¤ãã©ãªã§ãã è¨ç½®æ¹æ³ Google ã³ã¼ãã®ie7-jsããç´æ¥èªã¿è¾¼ããã¨ãå¯è½ã§ãã 以ä¸ã®è¦ç´ ãheadè¦ç´ å ãªã©ã«è¨è¿°ãã¾ãã <!--[if lt IE 7]> <script src="http://ie7-js.googlecode.c
ãtext-indent:-9999px;ãããdisplay:none;ãã§ããã¹ããã¦ã£ã³ãã¦å¤ã«é£ã°ãããé表示ã«ãã¦ã代ããã«èæ¯ç»åã表示ãããææ³ããç»åç½®æ(Image Replacement)ãã¨ããããããã«ã¯é大ãªæ¬ é¥ããã£ã¦ãæè¿ã§ã¯ä½¿ç¨ãæ¨å¥¨ããã¦ããªãã h5{ width:150px; height:50px; background:url('ir_test.gif') no-repeat; text-indent:-9999px; } <h5>SITE TITLE</h5> h5{ width:150px; height:50px; background:url('ir_test.gif') no-repeat; } h5 span{ display:none; } <h5><span>SITE TITLE</span></h5> ä¸è¨ã®ãããªCSSã ã¨ãCS
ãªãªã¼ã¹ãé害æ å ±ãªã©ã®ãµã¼ãã¹ã®ãç¥ãã
ææ°ã®äººæ°ã¨ã³ããªã¼ã®é ä¿¡
å¦çãå®è¡ä¸ã§ã
j次ã®ããã¯ãã¼ã¯
kåã®ããã¯ãã¼ã¯
lãã¨ã§èªã
eã³ã¡ã³ãä¸è¦§ãéã
oãã¼ã¸ãéã
{{#tags}}- {{label}}
{{/tags}}