Design & UX
Alex Walker, Jul 12

SVG Tip: Create a Bold Vector Halftone Graphic in Under 2 Minutes

This is a section from a 500 year old woodcut from perhaps the 'Andy Warhol of woodcut artists' - Albrecht Dürer. Woodcut is an old printing technique where the image is hand engraved into a wooden block by specialist blockcutters. Prints are then taken from the block.

[caption id="attachment_157164" align="alignright" width="187"]Dürer Dürer (Surprisingly, not the
guy from Nickleback.)[/caption]

Woodcuts are always bold and stark in nature because – unlike most painting techniques – there are no mid-tone colors or blends. The paper is either clean white or drenched ink black – there are no gray areas.

However as you can see, Dürer is able to mimic mid-tone grays by building up a fine rendering of linework. In his case, he uses parallel fill lines, but it's possible to get the same effect with cross-hatching, waves, ribbons, arcs, dots and other patterns.

Although it's a very old technique, we still see it everywhere today – from tattoos to beer labels to bank notes. Most of us have admired the beautiful, wavy ribbon linework used on paper money, sometimes called 'guilloché'.

Halftone examples

It also turns out to be perfectly suited to the mathematical precision of SVG – though hand rendering thousands of precision lines by hand may be impractical for many of us. There are professional options available if you're super-serious – Excentro is cool.

But if that's overkill, let's look at a simpler, more affordable solution.

How do I make a Halftone?

HalftonePro is an online service that converts photos into 'halftones' - what the printing industry calls these graphics.

Using this app is relatively simple but the results take some tuning.

  1. IMAGE: Upload your photo. If this is your first time, jump to the 'Preset' menu at the bottom, as it will give you a feel for the app faster.

  2. SHAPE: The 'Shape' menu lets you change the shape that makes up the image – circles, squares, lines, etc.

  3. PATTERN: The 'Pattern' menu is where things get complex. You can choose the grid that your shape adhere to. While I'm not going to bore you by explaining all the sliders here, the 'Vertical elements' slider is probably the most important. This sets the level of detail in your conversion. A setting of 25 is chunky – a setting of 150 is finely detailed. TIP: Don't set Vertical elements higher than about 150 as you'll be creating a HUGE SVG file and may even crash your browser.

  4. COLORS: Pick your palette.

  5. RESIZE: You can guess.

  6. PRESETS: The dozen or so presets provided give you a good sense of what this app can do. You can also save your own custom presets here.

Bowie - Before changes

High contrast images are likely to work best. I uploaded this classic black and white Bowie shot as a test and used the default 'Wave' preset with a 'Vertical elements' setting of 150.

5 COMMENTs
HTML & CSS
Giannis Konstantinidis, Jul 11

6 Free Material Design CSS Frameworks for 2017 Compared

Giannis Konstantinidis lists some great Material Design CSS frameworks and compares them to make it easier for you to choose what best fits your needs.
4 COMMENTs
HTML & CSS
Christian Krammer, Jul 06

A Friendly Introduction to Flexbox for Beginners

Christian Krammer walks you through the basics of Flexbox, which you can use to layout specific page elements and also as a fallback method to Grid Layout.
Design & UX
Alex Walker, Jul 06

6 Clever SVG Pattern Generators for Your Next Design

Though SVG Patterns aren't super widely understood, they offer a lot of really interesting design options – once you get your head around them.
5 COMMENTs
HTML & CSS
Kalpesh Singh, Jul 05

Building Mega Menus with Flexbox

Kalpesh Singh uses Flexbox features to build a mega drop-down navigation menu, a well known design feature that many incorporate into large websites.
Design & UX
Ivaylo Gerchev, Jul 04

How to Optimize and Export SVGs in Adobe Illustrator

SVG is a powerful format but you need to make good decisions to get great results. Ivalyo walks you through exporting SVG in Adobe Illustrator.
1 COMMENT
HTML & CSS
Alok Shah, Jun 30

Introducing Website Speed Test: An Image Analysis Tool

Learn about Cloudinary's new Website Speed Test, an image analysis tool that's integrated with WebPagetest.
HTML & CSS
Craig Buckler, Jun 28

​An Introduction to Component IO

Craig Buckler takes a look at Component IO, which provides content management for individual pieces of your website.
7 COMMENTs
HTML & CSS
Maria Antonietta Perna, Jun 28

GreenSock for Beginners: a Web Animation Tutorial (Part 1)

Maria Antonietta Perna introduces GreenSock in a multi-part article for the Beyond CSS: Dynamic DOM Animation Libraries series. Ready for some cool effects?
13 COMMENTs
HTML & CSS
Craig Buckler, Jun 22

How to Apply CSS3 Transforms to Background Images

Craig Buckler shows how to apply CSS3 transforms to background images. Rotating and skewing elements with stunning backgrounds will now be a breeze!
4 COMMENTs
HTML & CSS
Adrian Roworth, Jun 21

How I Built a Pure CSS Crossword Puzzle

Adrian Roworth recently built a pure CSS crossword puzzle using form elements and new Grid Layout features. In this tutorial, he explains the key concepts.
12 COMMENTs
HTML & CSS
Maria Antonietta Perna, Jun 15

A Practical Guide to CSS Variables (Custom Properties)

Maria Antonietta Perna walks you through CSS variables/custom properties, the awesome new technology that adds more flexibility and fun to CSS coding.
1 COMMENT
HTML & CSS
Reggie Dawson, Jun 14

Sass Basics: The Sass Mixin Directive

Reggie Dawson goes in depth and shows how to use the Sass mixin directive to write better organized and maintainable CSS code.
5 COMMENTs
HTML & CSS
Louis Lazaris, Jun 13

Results of the Ultimate CSS Survey 2017

Louis Lazaris breaks down the results of the Ultimate CSS Survey, shedding light on developer practices in CSS tooling, technologies, and knowledge.
73 COMMENTs
HTML & CSS
Syed Fazle Rahman, Jun 06

Understanding Bootstrap Modals

In his dive into the popular CSS framework Bootstrap, Syed Fazle Rahman shows you how you can quickly make Bootstrap modals work in your project.
4 COMMENTs
Web
Maria Antonietta Perna, May 30

Optimizing CSS: Tweaking Animation Performance with DevTools

Maria Antonietta Perna explores the Performance Tool available in the Firefox browser to find out more about CSS animation performance.
HTML & CSS
Gajendar Singh, May 30

Cool on Scroll Animations Made Easy With the AOS Library

Gajendar Singh shows how the AOS library (Animate On Scroll) works and how you can quickly animate your site to life with stunning effects on scroll.
HTML & CSS
Simon Codrington, May 23

Inspirational UI Design Ideas for Your Next Website Project

Simon Codrington illustrates some stunning UI design ideas using CSS animation and gradients to inspire your creativity for your next website project.
27 COMMENTs
HTML & CSS
Ivaylo Gerchev, May 17

The 5 Most Popular Frontend Frameworks of 2017 Compared

Ivaylo Gerchev looks at the most downloaded frontend frameworks available today and offers some suggestions on how to choose one that's right for you.
3 COMMENTs
HTML & CSS
Asha Laxmi, May 16

A Walkthrough of CSS Length Units You Can Use for Font Size

Asha Laxmi walks you through the CSS length units you have at your disposal to size fonts like a pro: from pixels to ems, rems, viewport units and more.
2 COMMENTs
Design & UX
Alex Walker, May 16

The Top 9 Animation Libraries for UI Designers in 2017

Animation is a part of a UI designer's job in 2017. Here are the 9 animation libraries we think deliver the most power for smallest file size.
1 COMMENT
JavaScript
Roman Lubushkin, May 09

Getting Started with AnyChart — 10 Practical Examples

Roman Lubushkin introduces you AnyChart, demonstrating its powerful API and visually appealing chart types by means of 10 easy-to-follow examples.
HTML & CSS
Louis Lazaris, May 09

20+ Docs and Guides for Front-end Developers (No. 12)

Louis Lazaris has collected together another 20+ learning resources, tools, and other guides to help developers brush up on various front-end features.
1 COMMENT
Web
Maria Antonietta Perna, May 04

Three Ways of Decreasing SVG File Size with SVGO

Maria Antonietta Perna discusses three ways in which you can use SVGO to optimize SVG graphics to be used on your website.