»Ë»Ñ Á¤º¸

Ƽ½ºÅ丮 °Ë»ö ⠲ٹ̱â

  • [* ºñȸ¿ø *]
  • µî·ÏÀÏ 2013-03-29 23:19
  • Á¶È¸¼ö 5774

À̹ø¿¡´Â Ƽ½ºÅ丮 °Ë»ö ¿µ¿ª¿¡ ´ëÇÏ¿© ¾Ë¾Æ º¸°Ú½À´Ï´Ù.


Ƽ½ºÅ丮 °Ë»ö ºÎºÐÀ» ¼öÁ¤ ÇÏ·Á¸é 


skin.html , syle.css ¸¦ ¼öÁ¤ ÇÏ¿©¾ß Çϴµ¥¿ä


±âº»ÀûÀ¸·Î


<s_search>

        <form class="searchform cf">

                <input type="text" name="[##_search_name_##]" value="[##_search_text_##]" onkeypress="if (event.keyCode == 13) { [##_search_onclick_submit_##] }" />

                <button onclick="[##_search_onclick_submit_##]">GO</button>

        </form>

</s_search>


ÀÌ·± ÇüÅ ÀÔ´Ï´Ù.


°¡Àå Áß¿äÇÑ ºÎºÐÀº <input type="text" ~  ~ ~ ~ /> À̺κРÀÔ´Ï´Ù.


¾ÈÀÇ ³»¿ë±îÁö ´Ù ¾Ë¸é ÁÁ°ÚÁö¸¸ ¸ô¶óµµ Å©°Ô ¹®Á¦°¡ ¾øÀ¸´Ï 


²Ù¹Ì´Â ¹æ¹ý¿¡ ´ëÇÏ¿© ¾Ë¾Æ º¸°Ú½À´Ï´Ù.


¸ÕÀú ¿øÇÏ´Â ½ºÅ¸ÀÏÀ» ±¸±Û¸µ ÇÕ´Ï´Ù.


https://www.google.co.kr/search?q=search+css&hl=ko&newwindow=1&safe=off&source=lnms&tbm=isch&sa=X&ei=7pFVUcX0GMeBlAWE34CwCA&ved=0CAcQ_AUoAQ&biw=1366&bih=643#hl=ko&newwindow=1&safe=off&tbm=isch&sa=1&q=search+css&oq=search+css&gs_l=img.12...0.0.0.4958.0.0.0.0.0.0.0.0..0.0...0.0...1c..7.img.Tx7FU3WfbLI&bav=on.2,or.r_cp.r_qf.&bvm=bv.44442042,d.dGI&fp=151f43967aa8c5c4&biw=1366&bih=643


ÀÌ·±½ÄÀ¸·Î search css ¶ó°í Çß´Ù°í Çϸé


¸¹Àº °á°úµéÀÌ ³ª¿À´Âµ¥¿ä


±×Áß¿¡ 3¹ø¤Š ¾ÆÀÌÅÛ




À¸·Î Çغ¸°Ú½À´Ï´Ù.


http://speckyboy.com/2012/02/15/how-to-build-a-stylish-css3-search-box/


»ó¼¼ url Àº ¿©±âÀÔ´Ï´Ù.


¿©±âºÎÅÍ´Â ¿¹½ÃÀÌ´Ï ÇÏ°í ½ÍÀº ½ºÅ¸ÀÏÀ» Á÷Á¢ ã¾Æ¼­ ÇÏ½Ã¸é µË´Ï´Ù.


<form class="form-wrapper cf">

        <input type="text" placeholder="Search here..." required>

        <button type="submit">Search</button>

</form>   


¿¹½Ã¿¡ ³ª¿Â form ű׸¦ Ƽ½ºÅ丮 ¾ç½Ä¿¡ ¸ÂÃç ¼öÁ¤ ÇÕ´Ï´Ù.


<s_search>

        <form class="searchform cf">

                <input type="text" name="[##_search_name_##]" value="[##_search_text_##]" onkeypress="if (event.keyCode == 13) { [##_search_onclick_submit_##] }" />

                <button onclick="[##_search_onclick_submit_##]">GO</button>

        </form>

</s_search>


ÀÌ·±½ÄÀ¸·Î À§¿¡¼­ Ŭ·¡½º(class="" )¶Ç´Â id(id="")¸¦ ¸ÂÃç ÁÖ½Ã¸é µË´Ï´Ù. 


±× ÈÄ css¸¦ ¼öÁ¤ÇØ ÁÖ½Ã¸é µË´Ï´Ù.


º»¹®¿¡ µé¾î°¡½Ã¸é css °¡ ±æ°Ô ³ª¿À ½Ã´Âµ¥¿ä.


±× ºÎºÐÀ» ¼öÁ¤ Çغ¸½Ã¸é


#searchBox{height:50px}

.cf:before, .cf:after{content:"";display:table;}

.cf:after{clear:both}

.cf{zoom:1} 

.searchform{width:240px;padding:10px;background:#10696f;background:rgba(0,0,0,.2);border-radius:10px;box-shadow:0 1px 1px rgba(0,0,0,.4) inset, 0 1px 0 rgba(255,255,255,.2)}

.searchform input {width:170px;height:10px;padding:10px;line-height:10px;float:left;border:0;background:#eee;border-radius: 3px 0 0 3px}

.searchform input:focus {outline:0;background:#fff;box-shadow:0 0 2px rgba(0,0,0,.8) inset}

.searchform button {overflow:visible;position:relative;float:right;border:0;padding:0;cursor:pointer;height:30px;width:50px;

    font: bold 12px/35px 'lucida sans', 'trebuchet MS', 'Tahoma';line-height:30px;color: #fff;background:#d83c3c;border-radius: 0 3px 3px 0;text-shadow: 0 -1px 0 rgba(0, 0 ,0, .3);

}   

   

.searchform button:hover{ackground: #e54040}   

.searchform button:active,.searchform button:focus{background:#c42f2f;outline:0}

.searchform button:before {content:'';position:absolute;border-width: 8px 8px 8px 0;border-style: solid solid solid none;border-color: transparent #d83c3c transparent;

    top: 8px;left: -6px;}

.searchform button:hover:before{border-right-color: #e54040}

.searchform button:focus:before,.searchform button:active:before{border-right-color: #c42f2f}      

.searchform button::-moz-focus-inner {border:0;padding:0}



ÀÌ·±½ÄÀ¸·Î µÇ°ÚÁÒ.

À§ÀÇ ¼Ò½º°¡ css3 html5 ¿ëÀ¸·Î ³ª¿Â°Å¶û »ý°¢ º¸´Ù ±æÁö¸¸

´Ù¸¥ ¼Ò½ºµéÀº À§ÀÇ ÄÚµåÃÊ·³ ±æÁö°¡ ¾Ê°í ´ëºÎºÐ °£´ÜÇÑ css , html , À̹ÌÁö·Î ±¸¼º µÇ¾îÁ® ÀÖ½À´Ï´Ù.


À§ÀÇ Äڵ带 »çÀÌÁ Á¶±Ý ÁÙ¿©¼­ ½ÇÁ¦·Î Àû¿ë ÇØ º¸¾Ò½À´Ï´Ù.


http://yskin14.tistory.com/


¿¹½Ã ½ºÅ² ´Ù¿î·Îµå - http://www.yongzz.com/view.php?bbs=skin&no=15


Ȥ½Ã Àß ¾ÈµÇ½Ã¸é ÄÚ¸àÆ® ³²°Ü ÁÖ¼¼¿ä,

0
ÃßõÇϱ⠴ٸ¥ÀÇ°ß 0
|
°øÀ¯¹öÆ°
÷ºÎÆÄÀÏ
  • 1364566750_d1.png
  • ¾Ë¸² ¿å¼³, »óó ÁÙ ¼ö ÀÖ´Â ¾ÇÇÃÀº »ï°¡ÁÖ¼¼¿ä.
©¹æ »çÁø  
¡â ÀÌÀü±Û¡ä ´ÙÀ½±Û