diff --git a/_src/index.md b/_src/index.md index 902c722..9f3dc2c 100644 --- a/_src/index.md +++ b/_src/index.md @@ -9,7 +9,7 @@ nextLink: "Typography"
Baselayer 3 v.1.2.x uses container queries for its responsive flexbox, grid, and visibility classes.
All “evergreen” browsers (Chrome, Edge, Firefox, Safari) have capability for the new CSS Container Queries (see Can I use Container Queries) since September 2023. See container query powered layouts.
-If you would rather use media queries for these utility classes, or if you need to support older (pre-container query) browsers a while longer, this is easy to do: in layout.css
simply do a search-and-replace @container → @media
(and then you don’t need to use Baselayer’s container
context class).
If you would rather use media queries for these utility classes, or if you need to support older (pre-container query) browsers a while longer, this is easy to do: in layout.css
simply do a search-and-replace @container → @media
(and then you don’t need to use Baselayer’s container context class).
sm:
, md:
, and lg:
prefixes do not work unless they are inside of a container
.
+ Layout classes with sm:
, md:
, and lg:
prefixes do not work unless they are inside of a container
.
Baselayer 3 v.1.2.x uses container queries for its responsive flexbox, grid, and visibility classes.
All “evergreen” browsers (Chrome, Edge, Firefox, Safari) have capability for the new CSS Container Queries (see Can I use Container Queries) since September 2023. See container query powered layouts.
-If you would rather use media queries for these utility classes, or if you need to support older (pre-container query) browsers a while longer, this is easy to do: in layout.css
simply do a search-and-replace @container → @media
(and then you don’t need to use Baselayer’s container
context class).
If you would rather use media queries for these utility classes, or if you need to support older (pre-container query) browsers a while longer, this is easy to do: in layout.css
simply do a search-and-replace @container → @media
(and then you don’t need to use Baselayer’s container context class).
Designed as a good place to start, Baselayer may be all you need — for small static websites and blogs. Or you may use it as a baselayer to quick-start your mega project.
diff --git a/docs/layout/index.html b/docs/layout/index.html index 1c6250f..a316676 100644 --- a/docs/layout/index.html +++ b/docs/layout/index.html @@ -435,7 +435,7 @@lg:
(1280px)sm:
, md:
, and lg:
prefixes do not work unless they are inside of a container
.
+ Layout classes with sm:
, md:
, and lg:
prefixes do not work unless they are inside of a container
.
You can place the container
class on e.g.: