HACKER Q&A
📣 mrholek

I need feedback regarding adding container queries to the Bootstrap fork


I am adding support for container queries to our Bootstrap-based project - https://github.com/coreui/coreui/blob/dev/scss/mixins/_grid.scss - and would like feedback from fellow Bootstrap users on naming conventions. I’m considering two prefixes for class names: c- and cq-. If you choose to implement container queries instead of media queries, you could use .c-row and .c-col-* instead of .row and .col-*.

In my view, the cq- prefix is more descriptive, while c- is more concise. What are your thoughts?


  👤 tosbourn Accepted Answer ✓
`cq-` because, as you say, it is more descriptive.