Wednesday, June 15, 2011

Untitled

A Study of Regular Polygons

by Tantek Çelik, 2001.01.27

regular polygon
A regular polygon is a polygon where all the sides are the same, and all the interior angles are the same.

Triangle

Selector 1: body > *.notepaper, body, input, button

Selects any element with a class attribute that contains the word notepaper that is a child of a body element or any body element or any input element or any button element.

Selector 2: li.depth-2

Selects any li element with a class attribute that contains the word depth-2.

Selector 3: li.depth-3

Selects any li element with a class attribute that contains the word depth-3.

Selector 4: li.depth-4

Selects any li element with a class attribute that contains the word depth-4.

Selector 5: li.depth-5

Selects any li element with a class attribute that contains the word depth-5.

Selector 6: li.depth-6

Selects any li element with a class attribute that contains the word depth-6.

Selector 7: body > ol > li p

Selects any p element that is a descendant of a li element that is a child of an ol element that is a child of a body element.

Selector 8: *:not(a)

Selects any element which is not an a element.

Selector 9: p:not(.section)

Selects any p element without a class attribute that contains the word section.

Selector 10: body > h2:not(:first-of-type):not(:last-of-type)

Selects any h2 element that is not a first child of its type and that is not a last child of its type that is a child of a body element.

Selector 11: ul li:nth-child(2n+3):not(:last-child)

Selects any li element that is an odd numbered child starting with the third child and that is not a last child that is a descendant of an ul element.

Selector 12: ol li:nth-child(-3n+9)

Selects any li element that is one of every three children between the third and the ninth children that is a descendant of an ol element.

Selector 13: ol li:nth-child(7n-3)

Selects any li element that is one of every seven children starting with the fourth child that is a descendant of an ol element.

Selector 14: button:not([DISABLED])

Selects any button element without a DISABLED attribute.

Selector 15: html|*:not(:link)

Selects any element in namespace html whose target has been visited.

Selector 16: *

Selects any element.

A three-sided polygon is called a triangle. A regular three-sided polygon is called an equilateral triangle.

Square

A four-sided polygon is called a quadrilateral. A regular four-sided polygon is called a square.

Pentagon

A five-sided polygon is called a pentagon. A regular five-sided polygon is simply called a regular pentagon.

Hexagon

A six-sided polygon is called a hexagon. A regular six-sided polygon is simply called a regular hexagon.

Octagon

A eight-sided polygon is called an octagon. A regular eight-sided polygon is simply called a regular octagon.

Selector 1: body > *.notepaper, body, input, button Selects any element with a class attribute that contains the word notepaper that is a child of a body element or any body element or any input element or any button element. Selector 2: body > ol > li p Selects any p element that is a descendant of a li element that is a child of an ol element that is a child of a body element. Selector 3: *:not(a) Selects any element which is not an a element. Selector 4: p:not(.section) Selects any p element without a class attribute that contains the word section. Selector 5: body > h2:not(:first-of-type):not(:last-of-type) Selects any h2 element that is not a first child of its type and that is not a last child of its type that is a child of a body element. Selector 6: ul li:nth-child(2n+3):not(:last-child) Selects any li element that is an odd numbered child starting with the third child and that is not a last child that is a descendant of an ul element. Selector 7: ol li:nth-child(-3n+9) Selects any li element that is one of every three children between the third and the ninth children that is a descendant of an ol element. Selector 8: ol li:nth-child(7n-3) Selects any li element that is one of every seven children starting with the fourth child that is a descendant of an ol element. Selector 9: button:not([DISABLED]) Selects any button element without a DISABLED attribute. Selector 10: html|*:not(:link) Selects any element in namespace html whose target has been visited. Selector 11: * Selects any element.

A Study of Regular Polygons

by Tantek Çelik, 2001.01.27

regular polygon
A regular polygon is a polygon where all the sides are the same, and all the interior angles are the same.

Triangle

Translations

Selector 1: body > *.notepaper, body, input, button

Selects any element with a class attribute that contains the word notepaper that is a child of a body element or any body element or any input element or any button element.

Selector 2: li.depth-2

Selects any li element with a class attribute that contains the word depth-2.

Selector 3: li.depth-3

Selects any li element with a class attribute that contains the word depth-3.

Selector 4: li.depth-4

Selects any li element with a class attribute that contains the word depth-4.

Selector 5: li.depth-5

Selects any li element with a class attribute that contains the word depth-5.

Selector 6: li.depth-6

Selects any li element with a class attribute that contains the word depth-6.

Selector 7: body > ol > li p

Selects any p element that is a descendant of a li element that is a child of an ol element that is a child of a body element.

Selector 8: *:not(a)

Selects any element which is not an a element.

Selector 9: p:not(.section)

Selects any p element without a class attribute that contains the word section.

Selector 10: body > h2:not(:first-of-type):not(:last-of-type)

Selects any h2 element that is not a first child of its type and that is not a last child of its type that is a child of a body element.

Selector 11: ul li:nth-child(2n+3):not(:last-child)

Selects any li element that is an odd numbered child starting with the third child and that is not a last child that is a descendant of an ul element.

Selector 12: ol li:nth-child(-3n+9)

Selects any li element that is one of every three children between the third and the ninth children that is a descendant of an ol element.

Selector 13: ol li:nth-child(7n-3)

Selects any li element that is one of every seven children starting with the fourth child that is a descendant of an ol element.

Selector 14: button:not([DISABLED])

Selects any button element without a DISABLED attribute.

Selector 15: html|*:not(:link)

Selects any element in namespace html whose target has been visited.

Selector 16: *

Selects any element.

Weirdopedia says: "Weird" http://weirdopedia.posterous.com/57306118 A Study of Regular Polygons by Tantek Çelik, 2001.01.27 regular polygon A regular polygon is a polygon where all the sides are the same, and all the interior angles are the same. Triangle Selector 1: body > *.notepaper, body, input, button Selects any element with a class attribute that contains the ...

No comments:

Post a Comment

Related Posts Plugin for WordPress, Blogger...