\n Geoff Graham <\/a>\n <\/div>\n\n<\/article>\n <\/div>\n \n","protected":false},"excerpt":{"rendered":"The list-style property is a shorthand property that sets values for three different list-related properties in one declaration: Here’s an example of the syntax: Which would be the same as the following longhand version: In the shorthand, if any values are omitted, they will revert to their initial state. Values for list-style-type The list-style-type property […]<\/p>\n","protected":false},"author":1036,"featured_media":0,"parent":13933,"menu_order":0,"comment_status":"open","ping_status":"closed","template":"page-almanac-single.php","meta":{"_bbp_topic_count":0,"_bbp_reply_count":0,"_bbp_total_topic_count":0,"_bbp_total_reply_count":0,"_bbp_voice_count":0,"_bbp_anonymous_reply_count":0,"_bbp_topic_count_hidden":0,"_bbp_reply_count_hidden":0,"_bbp_forum_subforum_count":0,"sig_custom_text":"","sig_image_type":"featured-image","sig_custom_image":0,"sig_is_disabled":false,"inline_featured_image":false,"c2c_always_allow_admin_comments":false,"footnotes":""},"tags":[14487,14490,14488],"acf":[],"jetpack-related-posts":[{"id":13677,"url":"https:\/\/css-tricks.com\/snippets\/css\/triangular-list-bullets\/","url_meta":{"origin":14067,"position":0},"title":"Triangular List Bullets","date":"August 18, 2011","format":false,"excerpt":"ul { margin: 0.75em 0; padding: 0 1em; list-style: none; } li::before { content: \"\"; border-color: transparent #111; border-style: solid; border-width: 0.35em 0 0.35em 0.45em; display: block; height: 0; width: 0; left: -1em; top: 0.9em; position: relative; } That's a rather old-timey approach. These days you might consider how easy\u2026","rel":"","context":"With 20 comments","img":{"alt_text":"","src":"","width":0,"height":0},"classes":[]},{"id":205997,"url":"https:\/\/css-tricks.com\/almanac\/selectors\/m\/marker\/","url_meta":{"origin":14067,"position":1},"title":"::marker","date":"August 3, 2015","format":false,"excerpt":"The\u00a0::marker\u00a0pseudo-element is for styling the stylistic marker of a list element. For example, the bullet point of a default
(e.g. \u2022) or the numeral of a default (e.g. 1.). This makes it extremely easy to do simple things like colorize them. CodePen Embed Fallback Like a pseudo-element, you'll\u2026","rel":"","context":"With 7 comments","img":{"alt_text":"","src":"https:\/\/i0.wp.com\/css-tricks.com\/wp-content\/uploads\/2021\/02\/CleanShot-2021-02-15-at-07.00.59@2x.png?resize=350%2C200&ssl=1","width":350,"height":200},"classes":[]},{"id":244389,"url":"https:\/\/css-tricks.com\/almanac\/properties\/s\/speak\/","url_meta":{"origin":14067,"position":2},"title":"speak","date":"March 10, 2017","format":false,"excerpt":"The speak property in CSS is for specifying if a browser should speak the content it reads, such as through a screen reader. .module { speak: never; speak-as: spell-out; } Values for speak auto: As long as the element is not display: block and is visibility: visible, text will be\u2026","rel":"","context":"In \"accessibility\"","img":{"alt_text":"","src":"","width":0,"height":0},"classes":[]},{"id":375761,"url":"https:\/\/css-tricks.com\/almanac\/selectors\/h\/has\/","url_meta":{"origin":14067,"position":3},"title":":has()","date":"December 19, 2022","format":false,"excerpt":"The CSS :has() pseudo-class selects elements that contain other elements that match the selector passed into its arguments. It's often referred to as \"the parent selector\" because of its ability to select a parent element based on the child elements it contains and apply styles to the parent. \/* Select\u2026","rel":"","context":"Similar post","img":{"alt_text":"","src":"https:\/\/i0.wp.com\/css-tricks.com\/wp-content\/uploads\/2019\/12\/css-tricks-logo-gradient-outline.png?fit=1200%2C600&ssl=1&resize=350%2C200","width":350,"height":200},"classes":[]},{"id":332764,"url":"https:\/\/css-tricks.com\/video-screencasts\/202-centered-list-markers\/","url_meta":{"origin":14067,"position":4},"title":"#202: Centered List Markers","date":"January 15, 2021","format":false,"excerpt":"Like so many things CSS, there is all sorts of little stuff to know, even something as minuscule as centering a list marker. A reader wrote in with a screenshot of what they were trying to accomplish \u2014 basically an ordered list () with the list markers (1., 2., 3.,\u2026","rel":"","context":"Similar post","img":{"alt_text":"","src":"https:\/\/i0.wp.com\/css-tricks.com\/wp-content\/uploads\/2021\/01\/centered-list-markers.png?fit=1200%2C675&ssl=1&resize=350%2C200","width":350,"height":200},"classes":[]},{"id":288037,"url":"https:\/\/css-tricks.com\/snippets\/css\/unordered-list-as-a-timeline\/","url_meta":{"origin":14067,"position":5},"title":"Unordered List as a Timeline","date":"May 20, 2019","format":false,"excerpt":"A refreshingly simple (yet crafty) way to create a vertical timeline using a straight-up, semantic unordered list () from Peter Cooper. ol { list-style-type: none; } li { position: relative; margin: 0; padding-bottom: 1em; padding-left: 20px; } li:before { content: ''; background-color: #c00; position: absolute; bottom: 0px; top: 0px; left:\u2026","rel":"","context":"With 12 comments","img":{"alt_text":"","src":"","width":0,"height":0},"classes":[]}],"_links":{"self":[{"href":"https:\/\/css-tricks.com\/wp-json\/wp\/v2\/pages\/14067"}],"collection":[{"href":"https:\/\/css-tricks.com\/wp-json\/wp\/v2\/pages"}],"about":[{"href":"https:\/\/css-tricks.com\/wp-json\/wp\/v2\/types\/page"}],"author":[{"embeddable":true,"href":"https:\/\/css-tricks.com\/wp-json\/wp\/v2\/users\/1036"}],"replies":[{"embeddable":true,"href":"https:\/\/css-tricks.com\/wp-json\/wp\/v2\/comments?post=14067"}],"version-history":[{"count":10,"href":"https:\/\/css-tricks.com\/wp-json\/wp\/v2\/pages\/14067\/revisions"}],"predecessor-version":[{"id":339286,"href":"https:\/\/css-tricks.com\/wp-json\/wp\/v2\/pages\/14067\/revisions\/339286"}],"up":[{"embeddable":true,"href":"https:\/\/css-tricks.com\/wp-json\/wp\/v2\/pages\/13933"}],"wp:attachment":[{"href":"https:\/\/css-tricks.com\/wp-json\/wp\/v2\/media?parent=14067"}],"wp:term":[{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/css-tricks.com\/wp-json\/wp\/v2\/tags?post=14067"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}