Intrinsic clamp formulation problems
Because I've managed to make my logo/title bar intrinsically responsive in a non-standard way, the very simple problem of getting that logo to float left (or the main content to float right) is proving tricky. If I
fixed
instead of sticky
the logo, I get a weird margin/padding protrusion. Actually using float
messes up my logo/title . So I am trying to force the issue by setting the margin-top
of my main to 0, but only on large screens, on small ones it should be left alone. My clamp math shenanigans which are working elsewhere is not working in this one instance.
This seems to be always zero:
Since I'm trying to get a negative number perhaps there's some hidden issues, but if my understanding of clamp (clamp(MIN, VAL, MAX) = max(MIN, min(VAL, MAX))
) is correct then it shouldn't be???
This works:
as does this
even this works
Intrinsic clamp math explained https://css-tricks.com/responsive-layouts-fewer-media-queries/
Live site http://dev.arghc.ca/Temani Afif
CSS-Tricks
Responsive Layouts, Fewer Media Queries | CSS-Tricks
We cannot talk about web development without talking about Responsive Design. Itβs just a given these days and has been for many years. Media queries are a
My website title - An example site home page for structRDFaL
Write an awesome description for your new site here. You can edit this line in _config.yml. It will appear in your document head meta (for Google search results) and in your feed.xml site description.
0 Replies