"കാസ്‌കേഡിങ്ങ് സ്റ്റൈൽ ഷീറ്റ്‌സ്" എന്ന താളിന്റെ പതിപ്പുകൾ തമ്മിലുള്ള വ്യത്യാസം

വരി 98:
div .myClass {color: red;}</syntaxhighlight>ക്ലാസ് എലമെന്റിലുള്ള ക്ലാസ് myClass ന്റെ എല്ലാ ഘടകങ്ങൾക്കും ഇത് ബാധകമാണ് <syntaxhighlight inline lang="css" class=nowrap>.myClass div {color: red;}</syntaxhighlight>ക്ലാസ് മൈക്ലാസിലെ ഘടകങ്ങളിലുള്ള എല്ലാ ഡിവ്(div)എലമെന്റുകൾക്കും ഇത് ബാധകമാണ്. ഇത് പോലുള്ള സംയോജിത ഐഡന്റിഫയറുകളുമായി തെറ്റിദ്ധരിക്കരുത് <syntaxhighlight inline="" lang="css" class="nowrap">
div.myClass {color: red;}</syntaxhighlight>ക്ലാസ് myClass സിലെ ഡിവ് എലമെന്റുകൾക്കും ഇത് ബാധകമാണ്.
ഇനിപ്പറയുന്ന പട്ടിക ഉപയോഗത്തെ സൂചിപ്പിക്കുന്ന സെലക്ടർ സിന്റാക്സിന്റെ സംഗ്രഹവും അത് അവതരിപ്പിച്ച സി‌എസ്‌എസിന്റെ പതിപ്പുകളുടെ വിവരങ്ങളും നൽകുന്നു.
<ref>{{cite web |url=http://www.w3.org/TR/selectors/ |title=Selectors Level 3 |publisher=W3.org |access-date=2014-05-30 |archive-url=https://web.archive.org/web/20140603165900/http://www.w3.org/TR/selectors/ |archive-date=2014-06-03 |url-status=live }}</ref>
{| class="wikitable"
|-
! പാറ്റേൺ !! പൊരുത്തങ്ങൾ !! സിഎസ്എസ് ലെവലിൽ<br/>ആദ്യം നിർവചിച്ചിരിക്കുന്നത്
|-
| {{code|2=css|1=E}} || ടൈപ്പ് ഇയുടെ(E) ഒരു ഘടകം || 1
|-
| {{code|2=css|1=E:link}} || ടാർഗെറ്റ് ഇതുവരെ സന്ദർശിച്ചിട്ടില്ലാത്ത (: link) അല്ലെങ്കിൽ ഇതിനകം സന്ദർശിച്ച (:link) ഒരു ഹൈപ്പർലിങ്കിന്റെ സോഴ്സ് ആങ്കറാണ് ഇ എലമെന്റ്. || 1
|-
| {{code|2=css|1=E:active}} || ചില ഉപയോക്തൃ പ്രവർത്തനങ്ങളിൽ ഉള്ള ഇ എലമെന്റ് || 1
|-
| {{code|2=css|1=E::first-line}} || ഒരു ഇ എലമെന്റിന്റെ ആദ്യത്തെ ഫോർമാറ്റ് ചെയ്ത വരി || 1
|-
| {{code|2=css|1=E::first-letter}} || ഒരു ഇ എലമെന്റിന്റെ ആദ്യത്തെ ഫോർമാറ്റ് ചെയ്ത അക്ഷരം || 1
|-
| {{code|2=css|1=.c}} || all elements with class="c" || 1
|-
| {{code|2=css|1=#myid}} || the element with id="myid" || 1
|-
| {{code|2=css|1=E.warning}} || an E element whose class is "warning" (the document language specifies how class is determined) || 1
|-
| {{code|2=css|1=E#myid}} || an E element with ID equal to "myid" || 1
|-
| {{code|2=css|1=.c#myid}} || the element with class="c" and ID equal to "myid" || 1
|-
| {{code|2=css|1=E F}} || an F element descendant of an E element || 1
|-
| {{code|2=css|1=*}} || any element || 2
|-
| {{code|2=css|1=E[foo]}} || an E element with a "foo" attribute || 2
|-
| {{code|2=css|1=E[foo="bar"]}} || an E element whose "foo" attribute value is exactly equal to "bar" || 2
|-
| {{code|2=css|1=E[foo~="bar"]}} || an E element whose "foo" attribute value is a list of whitespace-separated values, one of which is exactly equal to "bar" || 2
|-
| {{code|2=css|1=E<nowiki>[foo|="en"]</nowiki>}} || an E element whose "foo" attribute has a hyphen-separated list of values beginning (from the left) with "en" || 2
|-
| {{code|2=css|1=E:first-child}} || an E element, first child of its parent || 2
|-
| {{code|2=css|1=E:lang(fr)}} || an element of type E in language "fr" (the document language specifies how language is determined) || 2
|-
| {{code|2=css|1=E::before}} || generated content before an E element's content || 2
|-
| {{code|2=css|1=E::after}} || generated content after an E element's content || 2
|-
| {{code|2=css|1=E > F}} || an F element child of an E element || 2
|-
| {{code|2=css|1=E + F}} || an F element immediately preceded by an E element || 2
|-
| {{code|2=css|1=E[foo^="bar"]}} || an E element whose "foo" attribute value begins exactly with the string "bar" || 3
|-
| {{code|2=css|1=E[foo$="bar"]}} || an E element whose "foo" attribute value ends exactly with the string "bar" || 3
|-
| {{code|2=css|1=E[foo*="bar"]}} || an E element whose "foo" attribute value contains the substring "bar" || 3
|-
| {{code|2=css|1=E:root}} || an E element, root of the document || 3
|-
| {{code|2=css|1=E:nth-child(n)}} || an E element, the n-th child of its parent || 3
|-
| {{code|2=css|1=E:nth-last-child(n)}} || an E element, the n-th child of its parent, counting from the last one || 3
|-
| {{code|2=css|1=E:nth-of-type(n)}} || an E element, the n-th sibling of its type || 3
|-
| {{code|2=css|1=E:nth-last-of-type(n)}} || an E element, the n-th sibling of its type, counting from the last one || 3
|-
| {{code|2=css|1=E:last-child}} || an E element, last child of its parent || 3
|-
| {{code|2=css|1=E:first-of-type}} || an E element, first sibling of its type || 3
|-
| {{code|2=css|1=E:last-of-type}} || an E element, last sibling of its type || 3
|-
| {{code|2=css|1=E:only-child}} || an E element, only child of its parent || 3
|-
| {{code|2=css|1=E:only-of-type}} || an E element, only sibling of its type || 3
|-
| {{code|2=css|1=E:empty}} || an E element that has no children (including text nodes) || 3
|-
| {{code|2=css|1=E:target}} || an E element being the target of the referring URI || 3
|-
| {{code|2=css|1=E:enabled}} || a user interface element E that is enabled || 3
|-
| {{code|2=css|1=E:disabled}} || a user interface element E that is disabled || 3
|-
| {{code|2=css|1=E:checked}} || a user interface element E that is checked (for instance a radio-button or checkbox) || 3
|-
| {{code|2=css|1=E:not(s)}} || an E element that does not match simple selector s || 3
|-
| {{code|2=css|1=E ~ F}} || an F element preceded by an E element || 3
|}
 
== എച്.ടി.എം.എൽ താളുകളിൽ സ്റ്റൈൽ ഷീറ്റുകൾ നൽകാനുള്ള മാർഗങ്ങൾ ==
"https://ml.wikipedia.org/wiki/കാസ്‌കേഡിങ്ങ്_സ്റ്റൈൽ_ഷീറ്റ്‌സ്" എന്ന താളിൽനിന്ന് ശേഖരിച്ചത്