Re:Show HN: I Rebuilt MySpace from 2007
by davidsojevic on Monday November 30, 2020 @01:27AM
(#25251224)
Looking great so far. When MySpace was at its peak, I used to run one of those "style your profile" type websites that let you generate custom CSS and all those fun things. I should try and dig it out and see if it works on SpaceHey!
Just a small CSS tip for your header and footer menus -- instead of using ::before/::after pseudo elements in your anchors themselves, if you place the menu items in a list you can use them there so the vertical pipe isn't part of the links. For example the following HTML:
Let's you add anything to the menus (anchor tag or plain text) and they will be separated by the vertical pipe without being part of the links themselves.
Just a small CSS tip for your header and footer menus -- instead of using ::before/::after pseudo elements in your anchors themselves, if you place the menu items in a list you can use them there so the vertical pipe isn't part of the links. For example the following HTML:
With the following CSS: Let's you add anything to the menus (anchor tag or plain text) and they will be separated by the vertical pipe without being part of the links themselves.