{"id":8558,"date":"2026-02-10T17:55:36","date_gmt":"2026-02-10T22:55:36","guid":{"rendered":"https:\/\/frontendmasters.com\/blog\/?p=8558"},"modified":"2026-02-10T17:55:46","modified_gmt":"2026-02-10T22:55:46","slug":"glowing-gradient-hr","status":"publish","type":"post","link":"https:\/\/frontendmasters.com\/blog\/glowing-gradient-hr\/","title":{"rendered":"Glowing Gradient `hr`"},"content":{"rendered":"\n<p>I ran across this website <a href=\"https:\/\/www.goodcomponents.io\/browse\">Very Good Components<\/a> the other day and thought it was a neat idea to have a design gallery that wasn&#8217;t whole websites but individual components. They actually went a bit further and have configurable code for them. Here&#8217;s a <a href=\"https:\/\/www.goodcomponents.io\/app\/components\/glowing-divider\">Glowing Gradient Divider<\/a>. I decided to <a href=\"https:\/\/codepen.io\/editor\/chriscoyier\/pen\/019c300e-6359-7623-a728-b79d9d57f51d\">remake it as an <code>&lt;hr><\/code><\/a> <a href=\"https:\/\/www.goodcomponents.io\/browse\"><\/a>because&#8230; that&#8217;s just what I do sometimes. Only to make mine super configurable, I used <a href=\"https:\/\/codepen.github.io\/slideVars\/\">my own slideVars library<\/a>. For no other reason than I think it&#8217;s cool, I&#8217;ll mention I just fixed slideVars up to list the <code>--custom-properties<\/code> in the order you put them in your own CSS in v1.5.0.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>I ran across this website Very Good Components the other day and thought it was a neat idea to have a design gallery that wasn&#8217;t whole websites but individual components. They actually went a bit further and have configurable code for them. Here&#8217;s a Glowing Gradient Divider. I decided to remake it as an &lt;hr> [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":8562,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"_acf_changed":false,"sig_custom_text":"","sig_image_type":"featured-image","sig_custom_image":0,"sig_is_disabled":false,"inline_featured_image":false,"_jetpack_memberships_contains_paid_content":false,"footnotes":""},"categories":[29],"tags":[7,180,201,449],"class_list":["post-8558","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-the-beat","tag-css","tag-custom-properties","tag-gradients","tag-hr"],"acf":[],"jetpack_featured_media_url":"https:\/\/i0.wp.com\/frontendmasters.com\/blog\/wp-content\/uploads\/2026\/02\/Screenshot-2026-02-10-at-2.55.21-PM.png?fit=1348%2C752&ssl=1","jetpack_sharing_enabled":true,"_links":{"self":[{"href":"https:\/\/frontendmasters.com\/blog\/wp-json\/wp\/v2\/posts\/8558","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/frontendmasters.com\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/frontendmasters.com\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/frontendmasters.com\/blog\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/frontendmasters.com\/blog\/wp-json\/wp\/v2\/comments?post=8558"}],"version-history":[{"count":5,"href":"https:\/\/frontendmasters.com\/blog\/wp-json\/wp\/v2\/posts\/8558\/revisions"}],"predecessor-version":[{"id":8564,"href":"https:\/\/frontendmasters.com\/blog\/wp-json\/wp\/v2\/posts\/8558\/revisions\/8564"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/frontendmasters.com\/blog\/wp-json\/wp\/v2\/media\/8562"}],"wp:attachment":[{"href":"https:\/\/frontendmasters.com\/blog\/wp-json\/wp\/v2\/media?parent=8558"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/frontendmasters.com\/blog\/wp-json\/wp\/v2\/categories?post=8558"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/frontendmasters.com\/blog\/wp-json\/wp\/v2\/tags?post=8558"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}