sophiestrausberg• 60
@sophiestrausberg
Submitted
I had a problem using "box-sizing: border box" on my "learn more" boxes. What am I doing wrong? All feedback is appreciated!
Looking to hire developers?
@willykleitinho
@sophiestrausberg
Submitted
I had a problem using "box-sizing: border box" on my "learn more" boxes. What am I doing wrong? All feedback is appreciated!
@willykleitinho
Posted
The problem isn't on box-sizing. If you're talking about the buttons growing, that happens because you're adding a border to the button, instead of just changing it's color. Try adding a border of the desired width to the element without pseudo-selectors, and set it's background color to the button's background color.