Page 1 of 1

Body/viewport border

Posted: Sat Jun 29, 2019 7:06 am
by Ainu
Is it possible to ad a border with this behaviour without custom code in WWB15?

https://css-tricks.com/examples/BodyBorder/

Re: Body/viewport border

Posted: Sat Jun 29, 2019 7:21 am
by Pablo
I'm sorry, there is currently no standard option for that.

Re: Body/viewport border

Posted: Sat Jun 29, 2019 7:46 am
by Ainu
For anyone interested, it's possible with inline css and the HTML object.

Select "after body tag" and paste:

Code: Select all

<div style="top: 0; right: 0; left: 0; height: 12px; background-color: #e79d80; position: fixed; z-index: 99999;"></div>
<div style="top: 0; right: 0; bottom: 0; width: 12px; background-color: #e79d80; position: fixed; z-index: 99999;"></div>
<div style="bottom: 0; right: 0; left: 0; height: 12px; background-color: #e79d80; position: fixed; z-index: 99999;"></div>
<div style="top: 0; left: 0; bottom: 0; width: 12px; background-color: #e79d80; position: fixed; z-index: 99999;"></div>

Re: Body/viewport border

Posted: Sat Jun 29, 2019 5:48 pm
by [RZ]
a different approach, that works on any platform (also with body variants support):
https://www.wysiwygwebbuilder.com/forum ... 53&t=73139