@Swing95
Posted
Hi,
for font settings etc in general, you can use:
- { color: xyz; font-family: xyz; font-weight: xyz; }
This will apply to everything
When talking about *, try this:
- { margin: 0; padding: 0; box-sizing: border-box; }
It will make your life much easier.
Additionally, you should use rem in your code for setting font sizes and you can set your base rem unit in html
html { font-size: 15px; }
Then 1 rem will be 15px
Check here https://github.com/Swing95/order-summary-component-main
Br David
Marked as helpful