Hi,
On 25/09/2021 17:36, Rupesh gautam wrote:
> Does libcss support "border" ?
>
> div {
> width: 300px;
> * border: 10px solid #00FF00*
> padding: 50px;
> margin: 9px;
> }
Yes, that should work. You'll need a `;` before `margin`.
You will also need a non-zero device DPI in the css_unit_ctx:
http://git.netsurf-browser.org/libcss.git/tree/include/libcss/unit.h#n61
Best regards,
--
Michael Drake https://www.codethink.co.uk/
_______________________________________________
netsurf-dev mailing list -- netsurf-dev@netsurf-browser.org
To unsubscribe send an email to netsurf-dev-leave@netsurf-browser.org
No comments:
Post a Comment