Update guidance on <hr> styling#42708
Conversation
|
Preview URLs (comment last updated: 2026-01-09 17:53:30) |
chrisdavidmills
left a comment
There was a problem hiding this comment.
@pepelsbey I think this is a good idea, although your addition left me with a few questions. For example, surely other properties such as border-color are also important for styling a line, and it sounds like you are saying these are only useful for styling lines drawn on other elements, not <hr>, which can also be customized in this manner. Also, it was still not clear where you might draw these other lines, so I thought it might be good to clarify.
Anyway, the resulting suggestion might be slightly overkill; let me know what you think ;-)
Co-authored-by: Chris Mills <chrisdavidmills@gmail.com>
|
Oh, I absolutely love your addition! I considered expanding the advice but decided to make it lighter. Perfect! |
chrisdavidmills
left a comment
There was a problem hiding this comment.
Awesome, let's get this merged.
* 'main' of https://github.com/Anurella/content: (7201 commits) Update InterfaceData based on WebRef (mdn#42718) fix typo in `PeroformanceResourceTiming.requestStart` (mdn#42724) fix: auto-cleanup by bot (mdn#42717) fix typo in RTCTransportStats (mdn#42704) Fix typo in queuingStrategy variable name (mdn#42706) Update guidance on <hr> styling (mdn#42708) Fx147: Add relnote for iterator sequencing support (mdn#42713) Fix order of arguments in SpeechRecognitionPhrase ctor (mdn#42711) Update warnings about event handler attributes (mdn#42347) chore(deps-dev): bump fs-extra from 11.3.2 to 11.3.3 (mdn#42468) ci(deps): bump actions/download-artifact from 6.0.0 to 7.0.0 (mdn#42404) ci(deps): bump actions/upload-artifact from 5.0.0 to 6.0.0 (mdn#42402) ci(deps): bump peter-evans/create-pull-request from 7.0.11 to 8.0.0 (mdn#42403) Explain value repetition when fewer background values are specified (mdn#42627) Add description to background shorthand property (mdn#42695) chore(deps): bump @mdn/fred from 1.9.7 to 2.0.0 (mdn#42702) chore(deps): bump qs from 6.14.0 to 6.14.1 (mdn#42598) Bump node-html-parser from 7.0.1 to 7.0.2 (mdn#42659) update documentation to note that Firefox for Android requires CT (mdn#42672) TrustedTypes: Function() constructor + eval() (mdn#42462) ...
Description
Updates guidance on
<hr>styling:border-styleCSS propertyMotivation
To make it clearer what CSS can be used.
Related issues and pull requests
Fixes #42363