ํ‹ฐ์Šคํ† ๋ฆฌ ๋ทฐ

728x90
SMALL

์ƒ๊ฐ๋Œ€๋กœ ๋ ์ง€ ๋ชจ๋ฅด๊ฒ ์ง€๋งŒ, ํ‘œ์ค€์ฝ”๋”ฉ์„ ํ•ด์•ผํ•œ๋‹ค.
๋จผ๊ฐ€๋ฅผ ๋งŒ๋“ค์–ด ๋‚ด๋Š” ๊ณผ์ •์€ ์ •๋ง ์ฆ๊ฑฐ์šด ๊ฒƒ์ด๋‹ค.

http://www.w3schools.com/css/css_reference.asp 

CSS Selectors

In CSS, selectors are patterns used to select the element(s) you want to style.

The "CSS" column indicates in which CSS version the property is defined (CSS1 or CSS2).

Selector Example Example Selects: CSS
.class .intro All elements with class="intro" 1
#id #firstname The element with id="firstname" 1
* * All elements 2
element p All <p> elements 1
element,element div,p All <div> elements and all <p> elements 1
element element div p All <p> elements inside <div> elements 1
element>element div>p All <p> elements where the parent is a <div> element 2
element+element div+p All <p> elements placed immediately after a <div> element 2
[attribute] [target] All elements with a target attribute 2
[attribute=value] [target=_blank] All elements with a target attribute equal to "_blank" 2
[attribute~=value] [title=flower] All elements with a title attribute that contains space separated words, one of which is "flower" 2
[attribute|=language] [lang|=en] All elements where the lang attribute's value is "en", even if the value contains a hyphen (-), like "en-us" 2
:link a:link All links (<a> elements with href) 1
:visited a:visited All visited links 1
:active a:active Active links 1
:hover a:hover Links on mouse over 1
:focus input:focus The input element that has focus 2
:first-letter p:first-letter The first letter of all <p> elements 1
:first-line p:first-line The first line of all <p> elements 1
:first-child p:first-child All <p> elements that is the first child of its parent 2
:before p:before Content will be placed before each <p> element 2
:after p:after Content will be placed after each <p> element 2
:lang(language) p:lang(it) All <p> elements with the lang attribute containing "it" 2


728x90
LIST

'PROGRAMMING' ์นดํ…Œ๊ณ ๋ฆฌ์˜ ๋‹ค๋ฅธ ๊ธ€

์˜ค๋ผํด alter...  (0) 2011.10.25
๋‹จ์–ด๊ธฐ์ค€ ๊ฐœํ–‰ CSS - word-break:keep-all  (0) 2011.01.27
๊ฒ€์ƒ‰์–ด์ฐพ๊ธฐ  (0) 2010.07.13
jstl ์ด์šฉ sql์กฐ์ž‘  (0) 2010.07.08
jsp EL  (0) 2010.07.06
๋Œ“๊ธ€
๊ณต์ง€์‚ฌํ•ญ
์ตœ๊ทผ์— ์˜ฌ๋ผ์˜จ ๊ธ€
์ตœ๊ทผ์— ๋‹ฌ๋ฆฐ ๋Œ“๊ธ€
Total
Today
Yesterday
๋งํฌ
ยซ   2025/04   ยป
์ผ ์›” ํ™” ์ˆ˜ ๋ชฉ ๊ธˆ ํ† 
1 2 3 4 5
6 7 8 9 10 11 12
13 14 15 16 17 18 19
20 21 22 23 24 25 26
27 28 29 30
๊ธ€ ๋ณด๊ด€ํ•จ
250x250