# Borders Via Formula

**URL:** <https://community.weweb.io/t/borders-via-formula/2463>\
**Category:** How do I?\
**Created:** [April 25, 2023, 10:59pm UTC](https://community.weweb.io/t/borders-via-formula/2463 "2023-04-25T22:59:27Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![BuildLikePeter](https://sea2.discourse-cdn.com/flex016/user_avatar/community.weweb.io/buildlikepeter/32/2674_2.png) [@BuildLikePeter](https://community.weweb.io/u/BuildLikePeter)\
**Post date:** [April 25, 2023, 10:59pm UTC](https://community.weweb.io/t/borders-via-formula/2463/1 "2023-04-25T22:59:27Z")

</div>

The settings appear to allow for the use of a formula to control the boarder styling. How do you format the formula to control width, style, and color?

---

<div class="post-metadata">

**Author:** ![ilan](https://avatars.discourse-cdn.com/v4/letter/i/ecae2f/32.png) [@ilan](https://community.weweb.io/u/ilan)\
**Post date:** [April 25, 2023, 11:30pm UTC](https://community.weweb.io/t/borders-via-formula/2463/2 "2023-04-25T23:30:28Z")

</div>

Here’s an example that you should be able to adjust to suit your needs:

![image](https://us1.discourse-cdn.com/flex016/uploads/weweb/original/2X/b/bbf1feb4020e825afceeafe6369c929c408eedcf.png)

---

<div class="post-metadata">

**Author:** ![dorilama](https://sea2.discourse-cdn.com/flex016/user_avatar/community.weweb.io/dorilama/32/10403_2.png) [@dorilama](https://community.weweb.io/u/dorilama)\
**Post date:** [April 26, 2023, 5:51am UTC](https://community.weweb.io/t/borders-via-formula/2463/3 "2023-04-26T05:51:58Z")

</div>

You can see [here](https://developer.mozilla.org/en-US/docs/Web/CSS/border) the valid values
