control-freak-ide/Control-Freak-Documentation/jQuery/docs/entries/header-selector.json
plastic-hub-dev-node-saturn 538369cff7 latest
2021-05-12 18:35:18 +02:00

1 line
620 B
JSON

{"name":"header","type":"selector","title":":header Selector","deprecated":null,"removed":null,"desc":"Selects all elements that are headers, like h1, h2, h3 and so on.","categories":["selectors/basic-filter-selectors","selectors/jquery-selector-extensions","version/1.2"],"entries":[{"return":"","signatures":{"added":"1.2"},"examples":{"desc":"Adds a background and text color to all the headers on the page.","code":"\n$( \":header\" ).css({ background: \"#ccc\", color: \"blue\" });\n","html":"\n<h1>Header 1</h1>\n<p>Contents 1</p>\n<h2>Header 2</h2>\n<p>Contents 2</p>\n"},"longdesc":""}],"slug":"header-selector"}