Hey guys! Due to my earlier post I created <this S...
# compose-web
l
Hey guys! Due to my earlier post I created this SO question and answer I want to discuss this. As a new frontend developer this issue was a bit strange for me. I've had attempts with Vue and React, and I don't remember having an issue with this default margin. On our landing page the margin is removed, but I don't see this mentioned anywhere else. Should this 0 margin be the default for compose?
e
Aren’t defaults to some extent browser-specific? Isn’t it common practice to use so-called CSS reset rules to work around this? Haven’t done frontend in a couple of years so not sure if this still stands..
n
(I know this is old, I'm just catching up) @Emil Kantis is correct that the usual approach in every web project is to include a CSS reset before your own stylesheet. I'm not aware of any framework that includes one for you.
👍 1