May 16, 2019 at 12:53 pm #287954
I have this simple menu with vertical separators: https://codepen.io/Nogas/pen/Mdmmpx
What I need is a way to make the separator at the end of a line disappears when the viewport is smaller and the menu breaks in two or more lines.
Was this clear?
Can it be done?
PS. THe menu itens here are only samples. IRW they will be dynamic generated.May 16, 2019 at 1:04 pm #287955
At best you might use
beforeinstead and put it all on the left but that leaves you with a separator on the second line when the row breaks.
Simply put, there’s no real dynamic method of doing this since CSS can’t detect breakage/overflow.
Media queries would be a better option.
You must be logged in to reply to this topic.