Illustration of CSS Viewport Units’ ‘vmin’

CSS | Posted by Keefr March 9th, 2017

Cascading Style Sheet (CSS)Ever since I first read about CSS’s viewport units, I was intrigued. It was a way have heights and widths resize responsively relative to the web browser’s viewport, and it didn’t need a lick of javascript. But of course browser support had to catch up — and it has.

Since browsers have caught up, I’ve used it on sites to set heights and widths. The CSS Tricks article linked below though shows using viewport units for padding to make a flexible header.

Source: CSS Tricks – Simple Little Use Case for `vmin`

Collection of CSS Hover Effects

CSS | Posted by Keefr February 28th, 2017

CSSMan, the modern web is uber powerful. I came across this collection yesterday of CSS-based hover effects.

A lot of these collections of effects/demos end up being over-the-top and probably something you’d never utilize, or maybe once in some edge case web project.

But the majority of examples in this aren’t crazy. With some modifications, I can see going back to this list for a lot of future web projects.

Source: Line25.com – 20 Image Hover CSS Snippets: Designer Cheat List

Considering a New Flexible Heading HTML Tag

HTML | Posted by Keefr February 22nd, 2017

Markup / HTMLThis is one I’ve never thought about for, nor was I aware was even talked about, but there’s been talk for a long while about creating a new tag that’s not hierarchical, and thus more flexible especially for rearranging content for different devices, screen sizes, etc.

The question though is it necessary and/or worth it at this point for HTML.

Source: jakearchibald.com – Do we need a new heading element? We don’t know

Flow Chart in Pure CSS

CSS | Posted by Keefr February 21st, 2017

CSSCame across this nice little flow chart demo that’s built using semantic HTML and pure CSS.

The markup is simple unordered lists with anchor links inside.

The CSS is a little more complicated — getting into pseudo-elements (like last-child, first-child, and before), along with some hover and transition rules — very nice, compact and reusable.

Source: CodeMyUI.com – Vertical Family Tree in Pure CSS

A Tool Every Front-End Developer Needs: ImageOptim

Optimization, Workflow | Posted by Keefr February 20th, 2017

ImageOptimSeveral jobs back, our development team discovered a little tool that’s become a crucial part of our workflow in optimizing every visual that ends up online for us. The tool is called ImageOptim, and it really does one thing, but it does it so well.

While I’m sure this isn’t a new find for many other fellow front-end developers, we still meet others who don’t know about it, so figured it was worthy of a post this morning.

Read the rest of this entry »