{"id":8951,"date":"2011-04-07T15:56:34","date_gmt":"2011-04-07T22:56:34","guid":{"rendered":"http:\/\/css-tricks.com\/?p=8951"},"modified":"2019-03-21T13:47:09","modified_gmt":"2019-03-21T20:47:09","slug":"the-cicada-principle","status":"publish","type":"post","link":"https:\/\/css-tricks.com\/the-cicada-principle\/","title":{"rendered":"The Cicada Principle"},"content":{"rendered":"

So there is this bug… also prime numbers… and… just read it it’s really neat and has practical web design implications. <\/p>\n","protected":false},"excerpt":{"rendered":"

So there is this bug… also prime numbers… and… just read it it’s really neat and has practical web design implications.<\/p>\n","protected":false},"author":3,"featured_media":0,"comment_status":"open","ping_status":"closed","sticky":false,"template":"","format":"standard","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":"","jetpack_publicize_message":"","jetpack_is_tweetstorm":false,"jetpack_publicize_feature_enabled":true,"jetpack_social_post_already_shared":false,"jetpack_social_options":[]},"categories":[17],"tags":[866],"jetpack_publicize_connections":[],"acf":[],"jetpack_featured_media_url":"","jetpack-related-posts":[{"id":246249,"url":"https:\/\/css-tricks.com\/cicada-principle-css\/","url_meta":{"origin":8951,"position":0},"title":"Cicada Principle and CSS","date":"October 7, 2016","format":false,"excerpt":"Charlotte Jackson uses this classic clever technique to pseudo randomize border-radius, making irregular circles for a photo grid. A cicada is a rather grim looking little bug. You may have heard of them. There is a kind called the Periodical Cicada, which simultaneously emerge in masses every 7, 11, 13\u2026","rel":"","context":"In "Link"","img":{"alt_text":"","src":"","width":0,"height":0},"classes":[]},{"id":318658,"url":"https:\/\/css-tricks.com\/the-cicada-principle-revisited-with-css-variables\/","url_meta":{"origin":8951,"position":1},"title":"The Cicada Principle, revisited with CSS variables","date":"August 4, 2020","format":false,"excerpt":"Lea Verou digging up the CSS trickery classic and applying it to clip the backgrounds of some code blocks: The main idea is simple: You write your main rule using CSS variables, and then use\u00a0:nth-of-*()\u00a0rules to set these variables to something different every N items. If you use enough variables,\u2026","rel":"","context":"In "Link"","img":{"alt_text":"","src":"https:\/\/i0.wp.com\/css-tricks.com\/wp-content\/uploads\/2020\/08\/cicada-css.png?fit=1200%2C600&ssl=1&resize=350%2C200","width":350,"height":200},"classes":[]}],"_links":{"self":[{"href":"https:\/\/css-tricks.com\/wp-json\/wp\/v2\/posts\/8951"}],"collection":[{"href":"https:\/\/css-tricks.com\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/css-tricks.com\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/css-tricks.com\/wp-json\/wp\/v2\/users\/3"}],"replies":[{"embeddable":true,"href":"https:\/\/css-tricks.com\/wp-json\/wp\/v2\/comments?post=8951"}],"version-history":[{"count":1,"href":"https:\/\/css-tricks.com\/wp-json\/wp\/v2\/posts\/8951\/revisions"}],"predecessor-version":[{"id":8952,"href":"https:\/\/css-tricks.com\/wp-json\/wp\/v2\/posts\/8951\/revisions\/8952"}],"wp:attachment":[{"href":"https:\/\/css-tricks.com\/wp-json\/wp\/v2\/media?parent=8951"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/css-tricks.com\/wp-json\/wp\/v2\/categories?post=8951"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/css-tricks.com\/wp-json\/wp\/v2\/tags?post=8951"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}