Ask HN: I need feedback regarding adding container queries to the Bootstrap fork

1 points by mrholek ↗ HN
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?

2 comments

[ 3.4 ms ] story [ 20.3 ms ] thread
`cq-` because, as you say, it is more descriptive.