CSS Quantity Queries
A few useful resources from around the web:
Notice: You are viewing an unstyled version of this page. Are you using a very old browser? If so, please consider upgrading.
Oxford based Web Developer and Graphic designer. Full-time position: Web, Design and Publications Manager at the NPEU, but I also freelance.
Note: I'm aware that this site needs lots of attention, but I just haven't had the time lately.
47 posts
A few useful resources from around the web:
A thorough look at the CSS functions min()
, max()
and clamp()
:
Useful reference:
Useful reference:
Harry looks at some markup and techniques to sending analytics requests in oft-overlooked scenarios:
Useful reference:
I’m not certain I have a need for this, currently, but it’s worth recording here:
Update 21-17-02:
I’m sure I can add loads of stuff here.
A useful primer:
A comprehensive look at focus styles:
Not my strongest subject, and I definitely need to flesh this section out.
I’m sure I can add loads of stuff here.
Plenty of things to think about, with useful examples:
I’ll probably add more links to this post, but here’s the first few:
Just putting this up here to remind me to take these into account when designing patterns (and for StartCSS).
I probably should have written this one a long time ago, but here goes:
Sitepoint published my article on Responsive CSS Patterns without Media Queries where I demonstrate some techniques (some mine, some found) to make elemlents arrange themselves according to their container’s width, rather than the viewport (which is the case when using Media Queries).
Read more about Responsive CSS Patterns without Media Queries Article on Sitepoint
I plan to tidy up and enhance the ‘global’ print stylesheet for FallBack as soon as I can.
I’m not sure how I never managed not to come across this before, but I thought I’d post it here as a useful resource:
An interesting look at lazy loading images without breaking things if JS is unavailable:
A useful insight into visually hidden text by Gaël Poupard (translated by Hugo Giraudel)
I first heard about the Cidada principle on Sitepoint years ago: The Cicada Principle and Why It Matters to Web Designers. I was intrigued and I’ve tried using a couple of time to overlay background images to create the impression of randonmness. It’s very interesting and really nice to allow for some more organic variation, so I was quite pleased when it reared it’s head again:
Read more about Magic randomisation with nth-child and Cicada Principle
A great trick from Joren Van Hee that fits nicely into this in collection: Flex-grow 9999 Hack
A really useful in-depth tutorial on using flexbox to create a gallery layout like Google Images:
This tip from Ahmad Shadeed is interesting:
This is an issue I’ve looked a lot at over the years but I’ve not found time to really look for a solution myself, yet. I haven’t found time to compile all my thoughts and links on this yet either, but the following post prompted me to start:
I always get confused about when you should use flex-basis. Hopefully this flexbox tip from Zoe Gillenwater should help straighten it out in my head:
I’m a big fan of CSS Tricks but that’s not what this post is about.
Produces a lot of code but pretty handy. A good compromise, I think.
Clearly define responsibility for groups of classes, and only allow more than one class on an element when they’re from different groups that will clearly never conflict.
Read more about CSS Classes and the Single Responsibility Principle
Jake Archibold recommends not to use Flexbox for layout.
Some useful things to include:
As I was reading through Chris Coyer’s post on CSS Tricks it struck me that I’ve had lots of thoughts on this topic for a while now, but never consolidated them. Of particular note is is Chris’s distinction between template HTML and content HTML, also referred to as User Generated Content (UGC).
Well, technically, yes. You can use an <img>
tag to load any image, but when was the last time anyone used one as part of a decorative flourish on site’s design? Or anywhere else for that matter?
That’s all done with CSS these days, right?
Read more about Is there really such a thing as a 'purely decorative' image?
Sitepoint published my article on Cutting the Mustard with CSS Media Queries whereby putting certain combinations of Media Queries in a link
tag to prevent older browsers loading CSS.
Fall-Back is a collection of Progressive Enhancement techniques.
I’ve created and released a footnotes plugin for CKEditor.
Inspired by link-based enhancements like http://oembed.com (via http://css-tricks.com/oembed) and responsive URLs/content like http://www.smashingmagazine.com/2014/05/02/responsive-design-begins-with-the-url … it could be worth exploring patterns for other enhancements.
The team at the Endometriosis CaRe Centre, Oxford commissioned me to create a logo for the Centre. I enlisted the help of my colleague and all-round talented designer Sarah to help with this job.