How do I add a divider into weweb? You know, a simple line to divide sections… ![]()
everything in a web page is a box, a divider is a box without height but with borders and margins, unless you want to use some fancy lines with svg ![]()
1 Like
If you really want THE LINE
That’s right, and it’s also good for accessibility.
If you want to only use a default weweb component to ease styling you can add the role attribute set to separator to tell assistive technology that the element is a separator (source)
1 Like
Wait… so how do I implement this? ![]()
That’s the method I’m going for now… hahahaha the caveman method
but it works, so who cares~
1 Like
html element with <hr />
Yup, you create a HTML block and add <hr> into it. That simple.