2015년 2월 23일 월요일

Wave Goodbye to Ugly Link Underlines

SitePoint
Adam Roberts mug shot
The SitePoint JavaScript Newsletter
Adam Roberts here, filling in once again.

We’re nearly there with setting up our new JavaScript editor(s), so hopefully the next time you receive this it’ll be from them! In the meantime, I’m going to try to say as little as possible about JavaScript (and therefore expose my ignorance) while still providing you with some valuable stuff. Let’s see how that works out.

As I mentioned last time, one of the other things I do is write our daily email Versioning, which is full of useful links for devs of all stripes. I’m never short on JavaScript libraries, but I thought I’d highlight one from last week that focused on a common bugbear of web devs and designers — the humble (and horrible) text underline.

As our Design and UX editor Alex Walker mentioned a few months ago, the underline is probably the most pervasive web convention, despite serious typographers being seriously against it. (Ironically, one place the convention isn’t used is this email template.)

Last year the design team at Medium wrote about their struggle with this issue, eventually settling on a creative use of background images. This solution was built on by the team at Eager, who created the JavaScript library SmartUnderline.

underline.js is a JavaScript and CSS library that aims to solve the underline problem in a beautiful and playful way. The library offers pixel perfect underlines, along with the ability to make the lines interactive (definitely check out the demo to see — and hear —that). The creator of the library has offered a collection of suggestions to the W3C for CSS4 that would help solve this issue.

Hopefully, libraries like this won’t be necessary one day. But until that day comes, underline.js might be your best bet! 
Adam Roberts
SitePoint Managing Editor
The Shin Kobe paths
How to Create Performant, Template-based Charts with Paths.js
Marcello delves into Paths.js, explaining how to create attractive, performant charts using the library with Node.js and Ractive
Read more
A Flickr Image Gallery App
Creating an Image Gallery with the Flickr API
In this two-part series, Aurelio De Rosa explains how to set up an image gallery service using the Flickr API. This is a link to the first part of the series, but there's a link to part two in the final paragraph of the article.
Read more
Sendgrid Logo
Sponsored
Test an Email API Service in Less than 5 Minutes
Using SendGrid's Java library you can easily integrate your application and start sending email in minutes. Get advanced reporting, manage unsubscribes and enjoy 24/7 live support. Start sending for free.
Read more
Draw Planet Sketches
Showcase: Draw Planet
From our relaunched Showcase section, this is an interactive whiteboard, built in HTML5 and JavaScript, which works on mobile from the get-go. Check it out, have a play, and get in touch with the team if you have a suggestion.
Read more
What’s the Best Programming Language to Learn in 2015?
Craig Buckler reveals the languages which are in most demand for 2015. JavaScript, unsurprisingly, is high on the list.
Read more
How to Use VictorOps' Transmogrifier Tool While On-Call
Tim Evko takes a look at a new tool in the VictorOps arsenal, the almighty Transmogrifier, aimed at simplifying workflows and cutting down on alert fatigue
Read more
Closure Sign
Demystifying JavaScript Closures, Callbacks and IIFEs
Ivaylo Gerchev examines three of the most important and heavily-used concepts in modern JavaScript development: closures, callbacks and IIFEs
Read more

댓글 없음:

댓글 쓰기