DEV Community

Discussion on: Introduction to Responsive Design

Collapse
 
bharati21 profile image
Bharati Subramanian

Although the "|" symbol is used in css as an attribute selector, in this context it means either % or vw. This is just a way of saying that you could use a width as a percentage or viewport width.

Hope this helps. ☺️

Collapse
 
codinghusi profile image
Gerrit Weiermann

Okay thanks :)
Was a bit confusing πŸ˜…

Thread Thread
 
bharati21 profile image
Bharati Subramanian

No problem. I have seen that this kind of syntax is common in many blogs, tutorials and videos. That's why I added it.

Thanks for raising this question. I'll mention it in my next blog ☺️