jpcody + css   48

Help! My Stylesheets are a Mess! // Speaker Deck
This talk covers the architecture and process we use @ caring.com to manage our stylesheets and front-end design.
sass  css 
27 days ago by jpcody
» The EMs have it: Proportional Media Queries FTW! Cloud Four Blog
Font units aren’t pixels or points anymore, they’re percentages (typically for top-level baseline reset) or, more often, ems. And yet the vast majority of us still write width-based media queries in pixels
responsive  ems  css  media-queries 
8 weeks ago by jpcody
Content Folding | CSS-Tricks
There's probably a number of ways to do this. With JavaScript, you could measure the window width and shuffle things around in the DOM. That seems heavy to me, but the browser support would be good. I'd rather lean on CSS for this kind of thing. That's what CSS is (supposed to be) for. The grid layout may hold some possibilities for us, but for this tutorial, let's use the hot-off-the-presses CSS Regions, a contribution by Adobe.
css  responsive  cssregions 
9 weeks ago by jpcody
About HTML semantics and front-end architecture – Nicolas Gallagher
A collection of thoughts, experiences, ideas that I like, and ideas that I have been experimenting with over the last year. It covers HTML semantics, components and approaches to front-end architecture, class naming patterns, and HTTP compression.
css  bestpractices 
9 weeks ago by jpcody
Image Sequences: Let Me Count The Ways « Thomas Reynolds
Enter the Image Sequence. An Image Sequence is exactly what it sounds like, a series of images, each representing a single frame of an animation. Usually these will be exported from a high-level application like Adobe After Effects. For memory and performance reasons, these images are usually combined into a single Sprite Sheet. You may have heard of this technique, because we've been using it for decades.
css  animation 
10 weeks ago by jpcody
CSS px is an Angular Measurement
The “px” unit in CSS doesn't really have anything to do with screen pixels, despite the poorly chosen name. It's actually an non-linear angular measurement. The formulæ to convert between radians and px are as follows:
css  measurement  units  pixels 
11 weeks ago by jpcody
Animate.css - a bunch of plug-and-play CSS animations
animate.css is a bunch of cool, fun, and cross-browser animations for you to use in your projects. Great for emphasis, home pages, sliders, and general just-add-water-awesomeness.
animation  css  css3 
march 2012 by jpcody
Misdirection | Infrequently Noted
As the over-heated CSS vendor prefix debate rages, I can’t help but note the mounting pile of logical fallacies and downright poor reasoning being deployed. Some context is in order.
css  w3c 
february 2012 by jpcody
BenjaminKeen.com
This was inspired by, and based on @lensco's excellent Simple Responsive Design Test Page. It lets you view any webpage in multiple screen sizes, simulating the viewport of different devices. After getting such a positive response to my original post, I thought I'd expand on it a little. Since people are obviously targeting different device screen sizes with their projects, the form below now lets you generate a custom bookmarklet that displays only those device sizes you're interested in.
responsive  webdesign  css 
january 2012 by jpcody
Perfection kills » Profiling CSS for fun and profit. Optimization notes.
I’ve been recently working on optimizing performance of a so-called one-page web app. The application was highly dynamic, interactive, and was heavily stuffed with new CSS3 goodness. I’m not talking just border-radius and gradients. It was a full stack of shadows, gradients, transforms, sprinkled with transitions, smooth half-transparent colors, clever pseudo-element -based CSS tricks, and experimental CSS features.
css  performance 
january 2012 by jpcody
Up and Down the Ladder of Abstraction
The most exciting engineering challenges lie on the boundary of theory and the unknown. Not so unknown that they're hopeless, but not enough theory to predict the results of our decisions. Systems at this boundary often rely on emergent behavior — high-level effects that arise indirectly from low-level interactions.
animation  css  ux 
october 2011 by jpcody
Premailer: pre-flight for HTML email
For the best HTML e-mail delivery results, CSS should be inline. This is a huge pain and a simple newsletter becomes un-managable very quickly. This script is our solution.
css  htmlemail 
september 2011 by jpcody
html - CSS Selectors parsed right to left. Why? - Stack Overflow
CSS Selectors are parsed by browser engines right to left. So they first find the children and then check their parents to see if they match the rest of the parts of the rule.
css 
august 2011 by jpcody
Data URI Sprites — eBay Tech Blog
When brainstorming alternatives, we found what seemed to be an obvious solution: the image Data URI scheme. It works in all major browsers (except IE6 and IE7), and it solves our problem of too many HTTP calls. The code looks like this:
performance  css  datauri 
july 2011 by jpcody
Front End Development Guidelines
The absence of a DOCTYPE is a crime punishable by death. You may have relied on the following DOCTYPE in the past, but it's important to know that this is now being superceded by a leaner and meaner snippet.
styleguide  html  css  javascript 
may 2011 by jpcody
andyedinborough/stress-css - GitHub
It indexes all the elements and their classes, and then--class by class--it removes one, and times how long it takes to scroll the page. Classes that save a considerable amount of time when removed indicate problem areas.
css  testing  performance 
may 2011 by jpcody
Front end standards
This little book is to aid a shared understanding of front-end development best practice at PUP.

It's to help us deliver high quality content that works better, reaches more people - not only in today's browsers & devices, but in tomorrows.
standards  bestpractices  css  styleguide 
april 2011 by jpcody
The Cicada Principle and Why It Matters to Web Designers » HTML & CSS, Layout » Design Festival
On one hand you want to keep the file dimensions as small as possible to take best advantage of the tiling effect. However, when you notice a distinctive feature — for instance, a knot in some woodgrain — repeating at regular intervals, it really breaks the illusion of organic randomness.

Maybe we borrow some ideas from cicadas to break that pattern?
css  webdesign  math  primes 
april 2011 by jpcody
Browser CSS hacks « Paul Irish
Nonetheless, I wanted to document every browser-specific css selector and style attribute hack I've seen. Plus there's no way to provide stylesheets to only Safari, I believe.
css  browsers 
march 2011 by jpcody
CSS drop-shadows without images – Nicolas Gallagher
Drop-shadows are easy enough to create using pseudo-elements. It’s a nice and robust way to progressively enhance a design. This post is a summary of the technique and some of the possible appearances.
css  css3  webdesign 
february 2011 by jpcody
The New Bulletproof @Font-Face Syntax | Fontspring
Since the beginning of the 'webfont revolution' we've relied on somewhat hacky @font-face declarations to get webfonts loading cross-browser. Could there be a better way? One that's clear and compatible with future browsers?
css  css3  font-face  typography 
february 2011 by jpcody
The Top 5 Mistakes of Massive CSS | Nettuts+
Just because you didn’t get to go to that awesome conference doesn’t mean that you can’t still watch the lectures! Each weekend, we’ll feature a recommended web development lecture on Nettuts+.
This presentation, by Stoyan Stefanov and Nicole Sullivan, primarily details the huge performance benefits to using Object-Oriented CSS, as well as a crop of other common CSS hurdles.
oocss  performance  css  video 
december 2010 by jpcody
The 30 CSS Selectors you Must Memorize | Nettuts+
So you learned the base id, class, and descendant selectors – and then called it a day? If so, you’re missing out on an enormous level of flexibility. While many of the selectors mentioned in this article are part of the CSS3 spec, and are, consequently, only available in modern browsers, you owe it to yourself to commit these to memory.
css 
november 2010 by jpcody
HTML5Rocks - Quick hits with the Flexible Box Model
I'd bet that you've done your fair share of styling elements to be arranged horizontally or vertically on a page. As of yet, though, CSS has lacked a suitable mechanism for this task. Enter the CSS3 Flexible Box Module, or Flexbox for short.
css3  css  flexbox 
november 2010 by jpcody
Eric's Archived Thoughts: Vendor Prefix Lists
At the prompting of an inquiry from a respected software vendor, I asked The Twitters for pointers to “canonical” lists of vendor-prefixed properties, values, and selectors. Here’s what the crowd sourced at me:
css  vendor-prefixes 
october 2010 by jpcody
​C​S​S​3​ ​b​u​t​t​o​n​s
This is a collection of buttons that show what is possible using CSS3. They look best in WebKit browsers and appear quite plain in IE.
css3  css  buttons 
september 2010 by jpcody
​P​u​r​e​ ​C​S​S​ ​P​r​o​g​r​e​s​s​ ​B​a​r
Inspired by a shot from Jonno Riekwel, I knocked up a quick Progress Bar in Photoshop on a friday afternoon before heading to the pub. Then a couple of people suggested implementing it with CSS.
css3  css 
september 2010 by jpcody
​T​r​a​n​s​p​a​r​e​n​t​ ​B​o​r​d​e​r​s​ ​w​i​t​h​ ​b​a​c​k​g​r​o​u​n​d​-​c​l​i​p​ ​|​ ​C​S​S​-​T​r​i​c​k​s
Have you ever seen an element on a page with transparent borders? I think Facebook originally popularized it giving birth to lightbox plugins like Facebox. I don’t think Facebook sports the look anymore, but it’s still rather neat.
css3  css 
september 2010 by jpcody
​C​S​S​ ​S​p​r​i​t​e​s​ ​W​o​r​k​f​l​o​w​ ​|​ ​C​S​S​-​T​r​i​c​k​s
When you are coding up a brand new site, I think this is a pretty efficient workflow for how to handle CSS Sprites.
css  sprites 
september 2010 by jpcody
​O​n​ ​b​e​i​n​g​ ​“​r​e​s​p​o​n​s​i​v​e​”​ ​—​ ​U​n​s​t​o​p​p​a​b​l​e​ ​R​o​b​o​t​ ​N​i​n​j​a
A few weeks ago, the insanely talented people at Information Architects released a new, semi-responsive design, augmenting their already lovely site with a flexible grid, and some media queries to optimize their design for smaller resolutions. On the higher end of the resolution spectrum, they fell back to an em-based, fixed-width layout. Given the combination of flexible and fixed-width layouts, I felt it was a great example of a partially responsive design, and I said as much on Twitter.
css  responsive  fluid 
september 2010 by jpcody
​B​o​x​ ​S​i​z​i​n​g​ ​|​ ​C​S​S​-​T​r​i​c​k​s
If you wanted to ensure the box kissed the edges of the parent, but still use a 100% width declaration, you’d have to set the child divs width to 476px. But now we’ve run into a problem, and that’s fluid width design. Let’s say instead of the parent being 500px, you use 72%. Now what do you set the inner divs width to be to make sure it kisses the edges? There is no answer with the current box model. The percentages mixed with pixel values just don’t mix well. Setting the inner divs width to 95.2% will work when the parent just happens to be exactly 500px, but if it grows wider, as happens in fluid width design, the div will be too narrow, and if the parent grows narrower, the inner div will be too wide and break out of the parent.
css 
september 2010 by jpcody
​B​o​n​B​o​n​ ​B​u​t​t​o​n​s​ ​-​ ​S​w​e​e​t​ ​C​S​S​3​ ​b​u​t​t​o​n​s
There was a goal: Create CSS buttons that are sexy looking, really flexible, but with the most minimalistic markup as possible.
css  css3  buttons 
september 2010 by jpcody
Web Design Concepts For Non Web Designers
Great introduction to html and css for newcomers.
html  css  presentation  introduction 
july 2010 by jpcody
Perfect CSS Sprite / Sliding Doors Button
Simple sliding doors button techniques done in CSS for scalable buttons.
snippets  css 
november 2009 by jpcody
Simple Clearing of Floats
Clearing floats with overflow:auto on the container div.
floats  css 
october 2009 by jpcody
XHTML & CSS Lightbox
Lightbox using pure HTML and CSS, no Javascript required. Add Webkit transitions?
html  lightbox  css 
october 2009 by jpcody
YUI Library: YUI Compressor
compress your javascript and css files.
css  javascript 
september 2009 by jpcody
iPhone CSS
Quick trick to render iPhone specific style.
iPhone  css 
july 2009 by jpcody

Copy this bookmark:



description:


tags: