Your Web News in One Place

Articles by CSS Tricks from February 2017

Help Webnuz

Referal links:

Sign up for GreenGeeks web hosting
< Return to CSS Tricks details.
03:14 pm GMT - Mon, February 27, 2017
CSS Tricks Annotation is Now a Web Standard
This sure is exciting news: the various groups that make up the W3C have agreed upon a set of rules by which well be able to annotate, highlight and make comments to a webpage without the need of a th...
12:37 pm GMT - Mon, February 27, 2017
CSS Tricks Responsive Images in WordPress with Cloudinary, Part 2
In Part1 of this series, I provided some background on responsive images, describing how you can add srcset and sizes attributes to an img element to serve appropriately sized image files to users of ...
11:47 am GMT - Mon, February 27, 2017
CSS Tricks Touch Devices Should Not Be Judged By Their Size
Front-end developers and web designers live in an insane multi-device reality.A few months ago, the Red Hat UXD team discussed how to design enterprise applications for mobile environments. Sarah and ...
01:39 pm GMT - Sun, February 26, 2017
CSS Tricks Google Analytics Data Studio
I've said a number of times in the past:I wish I could just check a checkbox and make certain Google Analytics data public.I get that analytics can be a very private thing for some sites. I think ther...
12:46 pm GMT - Sat, February 25, 2017
CSS Tricks HTML APIs: What They Are And How To Design A Good One
Lea Verou writes about the design of HTML APIs and how we might write better documentation for web designers. An HTML API is term for a JavaScript library that is configured and controlled through HTM...
11:38 am GMT - Fri, February 24, 2017
CSS Tricks An Animated Intro to RxJS
You might have heard of RxJS, or ReactiveX, or reactive programming, or even just functional programming before. These are terms that are becoming more and more prominent when talking about the latest...
11:34 am GMT - Fri, February 24, 2017
CSS Tricks Deep dive CSS: font metrics, line-height and vertical-align
Vincent De Oliveira has written an epic post that details pretty much everything you might ever want to know about the line-height and vertical-align properties. If youve ever had trouble aligning thi...
04:43 pm GMT - Thu, February 23, 2017
CSS Tricks Individual CSS Transform Functions
Dan Wilson documents a classic annoyance with transforms:button { transform: translateY(-150%);}button:hover { /* will (perhaps unintentionally) override the original translate */ transform: scale(...
02:51 pm GMT - Thu, February 23, 2017
CSS Tricks The Best Tech Jobs in the World
Over 6,000 companies use Hired to find their next team member and with transparency into each company, you're empowered to make the right decision about what opportunities you'd like to pursue. Say go...
06:22 pm GMT - Wed, February 22, 2017
CSS Tricks Do responsive sites have to be so tall on mobile?
Kevin Vigneault:I don't believe that the overall page length itself is inherently problematic. I have noticed though that in many responsive designs, purposeful groupings of content are easy to spot o...
04:02 pm GMT - Wed, February 22, 2017
CSS Tricks Set a Timed Debugger To Web Inspect Hard-To-Grab Elements
Triggering a debugger; statement at just the right moment can help you select a DOM element that is really hard (or impossible) to get selected in DevTools. You can do that directly in your code, or, ...
12:47 pm GMT - Wed, February 22, 2017
CSS Tricks GitFTP-Deploy
Let's set the scene. Say you are a web freelancer and are almost finished with a client's new website. Over the years, you have learned the hard way not to edit the files directly over FTP. It's too e...
01:24 pm GMT - Tue, February 21, 2017
CSS Tricks HTTP/2 A Real-World Performance Test and Analysis
Perhaps you've heard of HTTP/2? It's not just an idea, it's a real technology and slowly but surely, hosting companies and CDN services have been releasing it to their servers. Much has been said abou...
03:52 pm GMT - Mon, February 20, 2017
CSS Tricks Squeezy Stretchy Flexbox Nav
I saw an interesting take on off-canvas navigation the other day over on The New Tropic. It wasn't the off-canvas part so much. It was how the elements within the nav took up space. They stretched out...
01:51 pm GMT - Sun, February 19, 2017
CSS Tricks lives in a sort of purgatory
Brad Frost:A front-end designer ... lives in a sort of purgatory between worlds:They understand UX principles and best practices, but may not spend their time conducting research, creating flows, and ...
03:42 pm GMT - Sat, February 18, 2017
CSS Tricks Write a script
Jeremy Keith, on teaching people JavaScript for the first time:blockquoteA lot of that boils down to this pattern:When (some event happens), then (take this action).We brainstormed some examples of th...
03:10 pm GMT - Sat, February 18, 2017
CSS Tricks Optimizing GIFs for the Web
Ire Aderinokun describes a frustrating problem that weve probably all noticed at one point or another:Recently, Ive found that some of my articles that are GIF-heavy tend to get incredibly slow. The r...
06:20 pm GMT - Fri, February 17, 2017
CSS Tricks CSS Grid: One Layout, Multiple Ways
I've really been enjoying getting acquainted with CSS Grid. The feature is starting to ship in many browsers and it looks like we'll be able to start using it in production in due time.One of the thin...
04:04 pm GMT - Thu, February 16, 2017
CSS Tricks Responsive Images in WordPress with Cloudinary, Part1
In this post we'll look at a brief history of responsive images and why they are so important for performant websites. Then we'll look at how WordPress helps automate that, and ultimately how the whol...
03:44 pm GMT - Thu, February 16, 2017
CSS Tricks Transparent JPG (With SVG)
Let's say you have a photographic image that really should be a JPG or WebP, for the best file size and quality. But what if I need transparency too? Don't I need PNG for that? Won't that make for eit...
02:40 pm GMT - Thu, February 16, 2017
CSS Tricks Coding CSS for Context
Snook on naming a class:Here's what's important:We want to identify that this is a variation on our button.We want to indicate the purpose of this button style.We want to avoid tying the code to a par...
02:19 pm GMT - Wed, February 15, 2017
CSS Tricks Websites We Like: February 2017
It has been a while since we've taken stock of all the beautiful websites out there. Here's our favorites from the past couple of weeks!FuzzcoWho says the web should scroll in one direction? Not the c...
02:56 pm GMT - Tue, February 14, 2017
CSS Tricks Creating Non-Rectangular Headers
Over at Medium, Jon Moore recently identified "non-rectangular headers" as a tiny trend. A la: it's not crazy popular yet, but just you wait, kiddo.We're talking about headers (or, more generally, any...
02:19 pm GMT - Tue, February 14, 2017
CSS Tricks Most of the web really sucks if you have a slow connection
Dan Luu on the sorry state of web performance:...its not just nerds like me who care about web performance. In the U.S., AOL alone had over 2 million dialup users in 2015. Outside of the U.S., there a...
02:29 am GMT - Tue, February 14, 2017
CSS Tricks SVG Squircle
Amelia Bellamy-Royds:I wondered if I could come up with an easy formula to create a "squircle" type curve with SVG bezier curves. It wouldn't be the exact shape, but it could be close. The idea:The "e...
02:20 am GMT - Tue, February 14, 2017
CSS Tricks ShopTalk 250: Web Security
For all y'all that want to understand the potential attacks, and potential defenses, of front-end web development.It's pretty wild. The dangers are big, real, and many. But the tools we have to fight ...
10:58 pm GMT - Mon, February 13, 2017
CSS Tricks Build (Custom Styled) Online Forms with Wufoo
Need to put a form on a website? I've been using Wufoo to do that for a decade. It's so simple. Just drag and drop the fields you need and select the options you want. Even things that could be comple...
03:10 pm GMT - Mon, February 13, 2017
CSS Tricks Design Your Content Typography First (and a Look at Type Nugget)
How often have you seen a "completed" site that still has lorem ipsum text lurking in the quiet corners? While we often strive for perfection in our designs and code, I am reminded every time I stumbl...
01:29 pm GMT - Sun, February 12, 2017
CSS Tricks Performance Under Pressure
Here's a neat transcript of a talk by Mat Marquis where he details how he made the Bocoup website lightning fast, particularly with snazzy font loading tricks and performance tools to help monitor tho...
03:46 pm GMT - Sat, February 11, 2017
CSS Tricks JavaScript Start-Up Performance
Addy Osmani:Smaller JavaScript bundles generally do result in a faster load time (regardless of our browser, device & network connection) but 200KB of our JS !== 200KB of someone else's and can h...
03:33 pm GMT - Sat, February 11, 2017
CSS Tricks Preparing and Exporting SVG Icons in Sketch
There is an interesting gotcha about the fill-rule attribute of SVG, detailed here by Anthony Collurafici.Fill-Rule is an SVG property that basically defines how to determine what shapes are filled or...
03:09 pm GMT - Sat, February 11, 2017
CSS Tricks Maintaining Accessibility in a Responsive World
There a bit of a CSS trick is Scott Jehl's latest article. Perhaps you've used an "accessible hiding" technique? That's where you are deliberately avoiding display: none; because you want the element ...
03:08 pm GMT - Fri, February 10, 2017
CSS Tricks An Introduction to the Reduced Motion Media Query
The open web's success is built on interoperable technologies. The ability to control animation now exists alongside important features such as zooming content, installing extensions, enabling high co...
03:06 pm GMT - Fri, February 10, 2017
CSS Tricks CSS Rooster
A Bot that Writes CSS Classes for HTML with Deep LearningI played with it for a bit to see if I could get it to do anything impressively analytic. I took some semantic HTML and removed all the class n...
01:17 pm GMT - Fri, February 10, 2017
CSS Tricks A Month of Hello, World! Learning 30 new languages in 30 days.
Genki Hagata:My "aha moment" came around day 16, when I came to the perhaps obvious realization that every Javascript framework is just someone's organized, opinionated way of writing code.Direct Link...
02:22 pm GMT - Thu, February 9, 2017
CSS Tricks You Should Come To An Event Apart
Hey there CSS-Tricks readers and friends! This year I have the great privilege to be giving talks and workshops at the wonderful An Event Apart series of conferences. Conference for people who make we...
02:15 pm GMT - Thu, February 9, 2017
CSS Tricks We built a PWA from scratch This is what we learned
I hadn't considered the fact that if you're fingerprinting your assets (e.g. style.987987090897.css) to take advantage of browser cache, you'll need to update your Service Worker every time you do tha...
02:04 pm GMT - Thu, February 9, 2017
CSS Tricks Code Smells in CSS
Harry Roberts, Code Smells in CSS, Part 1: Undoing StylesMagic NumbersQualified SelectorsAbsolute ValuesBrute ForcingDangerous SelectorsReactive !importantIDsLoose Class NamesPart 2:@extendString Conc...
10:34 pm GMT - Wed, February 8, 2017
CSS Tricks Unitless or not unitless?
Matt Smith:You should always specify line-height as a unitless number (say this into the mirror five times). That way descendent elements that specify a different font size will inherit that number in...
03:06 pm GMT - Wed, February 8, 2017
CSS Tricks Why Elm? (And How To Get Started With It)
This is a guide about the programming language Elm. But instead of jumping right into the how-to's and syntax, it introduces why you might be compelled by functional programming, a philosophy behind E...
05:26 pm GMT - Tue, February 7, 2017
CSS Tricks Basic Shapes & Path Never the Twain Shall Meet?
There are some values available in CSS that allow shapes to be drawn. For example, there is a circle() function that is a valid value for a couple of CSS properties. "Drawn" might not be the right wor...
12:59 pm GMT - Mon, February 6, 2017
CSS Tricks What Really Makes a Static Site Generator?
I talk a lot about static site generators, but always about using static site generators. In most cases, it may seem like a black box. I create a template and some Markdown and out comes a fully forme...
12:51 pm GMT - Mon, February 6, 2017
CSS Tricks This browser tweak saved 60% of requests to Facebook
Ben Maurer & Nate Schloss:The browser's reload button exists to allow the user to get an updated version of the current page. In order to meet this goal, when you reload, browsers revalidate the ...
06:05 pm GMT - Sun, February 5, 2017
CSS Tricks A Poll on How Developers Run WordPress Locally
I really have no idea how this will turn out. I suspect a ton of you have run or are currently running WordPress locally, but I have no clear guess on what the most popular way is to do that right now...
03:18 pm GMT - Fri, February 3, 2017
CSS Tricks Intro to Vue.js: Animations
This is the fifth part in a five-part series about the JavaScript framework, Vue.js. In this last part of the series, we'll cover Animations (if you know me at all, you probably knew this was coming)....
03:00 pm GMT - Fri, February 3, 2017
CSS Tricks Contest: Ill Come To Your Office
I'll fly to you and spend the day! Media Temple is sponsoring it, so it doesn't cost either of us anything. Only one lucky winner, though. All you gotta do is fill out the form (with your email addres...
02:46 pm GMT - Fri, February 3, 2017
CSS Tricks Some Math Links
I read a few stories about math lately. One of them is a story by Kevin Hartnett about Francis Su, who believes math can be a gateway to a better life. To Live Your Best Life, Do Mathematics.:Christo...
02:36 pm GMT - Thu, February 2, 2017
CSS Tricks The Easiest Way to Find a New Job
As a highly talented developer or designer, shouldn't companies apply to you? On Hired the traditional process of finding a job is completely reversed. Hired expedites the job search process through a...
02:27 pm GMT - Thu, February 2, 2017
CSS Tricks Intro to Vue.js: Vuex
This is the fourth part in a five-part series about the JavaScript framework, Vue.js. In this part, we'll cover Vuex for state management. This is not intended to be a complete guide, but rather an ov...
02:14 pm GMT - Thu, February 2, 2017
CSS Tricks The Art of Labeling
There's a lot of neat tricks in this video by Rob Dodson where he focuses on accessibility tricks in Chrome's DevTools. A few notes:Chrome DevTools has an experimental feature to help with accessibili...
01:54 pm GMT - Thu, February 2, 2017
CSS Tricks A Couple SVG Icon Links
WordPress' new TwentySeventeen default theme uses an SVG icon system. It was contributed by Sami Keijonen who had some prior experience in that, and wrote up a bit about it here. The theme has functio...
01:41 pm GMT - Wed, February 1, 2017
CSS Tricks Intro to Vue.js: Vue-cli and Lifecycle Hooks
This is the third part in a five part series about the JavaScript framework, Vue.js. We'll cover Vue-cli, and talk a little more about real-life development processes. This is not intended to be a com...
01:29 pm GMT - Wed, February 1, 2017
CSS Tricks ShopTalk 248: AMP
AMP is wildly polarizing.Huge tech companies evangelize for it. It has loads of tech partners and loads of publishers using it. Well-respected companies are building things for it. There is also a ton...
01:02 pm GMT - Wed, February 1, 2017
CSS Tricks 10 Lodash Features You Can Replace with ES6
When learning to write JavaScript without jQuery, I found posts like this (also on SitePoint) quite helpful to reference. Now we're going through that again, in a way, with ES6 replacing some of what ...
12:50 pm GMT - Wed, February 1, 2017
CSS Tricks Understanding the Critical Rendering Path
Ire Aderinokun:There are 6 stages to the CRP -Constructing the DOM TreeConstructing the CSSOM TreeRunning JavaScriptCreating the Render TreeGenerating the LayoutPaintingI imagine if you're really gett...
01:19 pm GMT - Tue, January 31, 2017
CSS Tricks Intro to Vue.js: Components, Props, and Slots
This is the second part in a five-part series about the JavaScript framework, Vue.js. In this part, we'll go over Components, Props, and Slots. This is not intended to be a complete guide, but rather ...
12:55 pm GMT - Tue, January 31, 2017
CSS Tricks The Promise of a Burger Party
Mariko Kosaka with an elaborate and wonderful metaphor.What is a Promise in JavaScript? It's like if you go to a restaurant and order a burger and a shake. The restaurant needs to prepare your food, s...
12:46 pm GMT - Tue, January 31, 2017
CSS Tricks Implementing Save For Offline with Service Workers
A straightforward tutorial by Una Kravets on caching assets and individually requested articles with Service Workers for offline reading.I'm curious what the best practice will become. It's possible t...