Wednesday, February 18
The CSS Paint API
CSS Tricks

The CSS Paint API

The CSS Paint API is extremely exciting, not only for what it is, but what it represents, which is the beginning of a very exciting time for CSS. Let’s go over what it is, why we have it and how to start using it. What is the CSS Paint API? The API is just one part of a whole suite of new specifications all under the umbrella of what is known as CSS Houdini. Houdini, in essence, gives developers lower level access to CSS itself. No kidding. The CSS Paint API specifically allows you to call a paint() function wherever you would normally write a value where an image is expected. A common example is the background-image property, where you might use the url() function to a link to an image file, like this: area { background-image: url('assets/myimage.jpg'); } The CSS Paint API allows you t...
Pattern Library First: An Approach For Managing CSS
Web Tricks

Pattern Library First: An Approach For Managing CSS

Pattern Library First: An Approach For Managing CSSPattern Library First: An Approach For Managing CSS Rachel Andrew 2018-07-09T14:00:35+02:00 2018-07-10T16:18:00+00:00 In this article, based on the talk that I gave at Smashing Conference in Toronto, I’m going to describe a method of working that I’ve adopted over the past two years that helps me to manage CSS across my projects. I’ll be showing you how to use the pattern library tool Fractal, to manage your CSS on a component by component basis, while allowing you to use the tools you are already familiar with. While this serves as an introduction to Fractal, and why we have selected this particular pattern l...
20 Best New Portfolios, July 2018
Web Tricks

20 Best New Portfolios, July 2018

Hello again, Readers. It’s time to stop playing those games you got on the Steam Summer Sale for a minute, ‘cause it’s July now—I know, it caught me off guard, too. This month, I say “minimalist” at least as much as I did last month, because the trend of near-monochromatic, dead-simple, kind of post-modern sites shows no signs of slowing. I’m okay with this, but if you’re going to be redesigning your portfolio this month, maybe throw a bit more color at it. Please? For me? Enjoy. Note: I’m judging these sites by how good they look to me. If they’re creative and original, or classic but really well-done, it’s all good to me. Sometimes, UX and accessibility suffer. For example, many of these sites depend on JavaScript to display their content at all; this is a Bad Idea, kids. If you find an...
Popular Design News of the Week: July 2, 2018 – July 8, 2018
Web Tricks

Popular Design News of the Week: July 2, 2018 – July 8, 2018

Every week users submit a lot of interesting stuff on our sister site Webdesigner News, highlighting great content from around the web that can be of interest to web designers.  The best way to keep track of all the great stories and news being posted is simply to check out the Webdesigner News site, however, in case you missed some here’s a quick and useful compilation of the most popular designer news that we curated from the past week. Note that this is only a very small selection of the links that were posted, so don’t miss out and subscribe to our newsletter and follow the site daily for all the news. 7 Tips for Designing a Large Footer   Using Chrome as a Local Web Server   20 Best Page Builders for WordPress   There’s no Way this Four-Way Gear Should Work, but it Does (Video)  ...
Web Tricks

A Custom WordPress Dashboard with MongoDB Atlas, Microsoft Azure, & Serverless Functions!

TL;DR I’m building a custom WordPress dashboard for an enterprise client which is powered by React.js on top of Node.js with MongoDB Atlas as the database. This dashboard uses several Microsoft Azure services, e.g., Cognitive Services, Azure App Services, and especially serverless ⚡ Azure Functions. In this post, you’ll learn how to build a small module from it and the reason behind my choice of stack, apps, and products. ? One of my enterprise clients who owns a huge networking and media company has a large-scale WordPress site set up. He recently consulted me about the possibility of building a custom WordPress dashboard (based on the WordPress REST API) — to help him make intelligent business decisions via Machine Learning and Artificial Intelligence. ? With JavaScript eating up the wor...
Web Tricks

Vue Authentication And Route Handling Using Vue-router

Vue is a progressive Javascript framework that makes building frontend applications easy. Coupled with vue-router, we can build high performance applications with complete dynamic routes. Vue-router is an efficient tool and can handle authentication in our Vue application seamlessly. In this tutorial, we will look at using vue-router to handle authentication and access control for different parts of our application. Getting Started To begin, install Vue cli and create a vue application with it: $ npm install -g @vue/cli $ npm install -g @vue/cli-init $ vue init webpack vue-router-auth Follow the setup prompt and complete the installation of this application. If you are not sure of an option, simply click the return key (enter key) to continue with the default option. When asked to install ...
CSS Grid in IE: Faking an Auto-Placement Grid with Gaps
CSS Tricks

CSS Grid in IE: Faking an Auto-Placement Grid with Gaps

This is the third and final part in a three-part series about using CSS grid safely in Internet Explorer 11 (IE11) without going insane. In Part 1, I covered some of the common misconceptions that people have about IE11’s native CSS grid implementation. In Part 2, I showed the world how easy it actually is to write IE-friendly CSS grid code. Today, I’m going step away from CSS grid for a moment to show you a flexbox technique that replicates basic CSS grid auto-placement functionality. This CSS grid replica will even look like a grid-gap has been applied to it. I need to be super clear though: this is not about how to make actual CSS grid auto-placement work in IE. Article Series: Debunking Common IE Grid Misconceptions CSS Grid and the new Autoprefixer Faki...
Better Research, Better Design, Better Results
Web Tricks

Better Research, Better Design, Better Results

Better Research, Better Design, Better ResultsBetter Research, Better Design, Better Results Sam Wright & James Macnamara 2018-07-06T13:45:41+02:00 2018-07-10T16:18:00+00:00 Over the years, one thing we have consistently seen is how little insight from digital marketers is used at the planning stages of a web development project. Data from Google Analytics and SEMrush to tools like VWO (Visual Website Optimizer) or Hotjar are all resources that can be used to provide valuable insight ahead of the first line of code being written. Basic SEO elements, such as URL structure and metadata, should also be involved in the decision making of any web design project...
8 Steps to Using Live Streaming As Part of Your Content Strategy
Web Tricks

8 Steps to Using Live Streaming As Part of Your Content Strategy

Exposure. Engagement. Interaction. Trolls calling you horrible things in real time. You can have all of these buzzwords and more through the magic of live streaming over the Internet! It’s not all that bad, actually. In a world where video has become increasingly dominant online, more and more people are going one step further by consuming their video live. It’s kind of like television, only it’s easier to find stuff that’s relevant to your most obscure and eccentric tastes. Want to watch someone categorize feathers? There’s probably a stream for that. Want to watch kittens just doing their thing all day long? There are a bunch of streams for that, and at the risk of losing you all forever, here’s one of them. The benefit for any business or Internet venture is that streaming allows you t...
Web Tricks

Understanding The Underlying Processes of JavaScript’s Closures And Scope Chain

When developers start exploring the JavaScript programming language, the concept of Scope and Closures can be expected to be a hurdle to their progress. The reason behind this behavior is the complexity of the other concepts that lie under the hood of this feature in JavaScript. However, a solid understanding of JavaScript’s Scope and Closures is so important that a good grasp of the concept will significantly augment the developer’s knowledge and prepare him/her for many years of writing elegant code. In his book: You Don't Know JS: Scope & Closures, Kyle Simpson took the time to go over the concept in detail, treating each underlying logic as a single entity that merits intense study. Why do we need Scopes? For us to see the need for a scoping mechanism, we will use variables as a ca...
CSS Tricks

Prototyping in the Browser

Prototyping animations and interactions is vital for a number of reasons: they can make your interface feel deceptively fast, they can help focus the user on a specific task, and they can provide a better sense of the current state of your application. Is data being loaded? Is something now unclickable? How long do they have to wait until they can perform an action? At Gusto, I’ve been working on a lot of tiny interaction details and prototypes lately for these very reasons — sadly there’s not much that I can show you all in detail just yet. But, I think the process of how I’m doing this is far more interesting than what I’m actually working on so that's what I'm going to share here. The problem I’ve faced with prototyping animations comes down to the tools because they ultimately feel r...
What Is Redux: A Designer’s Guide
Web Tricks

What Is Redux: A Designer’s Guide

What Is Redux: A Designer’s GuideWhat Is Redux: A Designer’s Guide Linton Ye 2018-07-05T15:30:46+02:00 2018-07-10T16:18:00+00:00 Have you heard of Redux? What is it? No googling, please! “Fancy backend stuff.” “I have heard of it, but I’m not aware of what it is. It’s a React framework perhaps?” “A better way to store and manage states in a React application.” I’ve asked this question to over 40 designers. The above are their typical answers. Many of them are aware that Redux works with React and its job is “state management.” But do you know what this “state management” really means? Do you know Redux’s real power is beyond managing the state? Do you know th...
CSS Tricks

​Reinvest Your Time with HelloSign API

HelloSign API makes it simple to embed secure and legally binding eSignatures directly into any website. It's 2x faster to implement than other eSign solutions and is also the only eSign API that allows customers to completely white label the integration, meaning our customers can give their customers a seamless, native signing experience. The three key features of the HelloSign API are the ability to collect signatures, request signatures, and format documents for signing directly on any site. Integrations go smoothly with help from tools like the API Dashboard, an industry-first feature that makes it easy for developers to debug and view critical information about API requests and responses. What are you going to do with all that time you saved by using HelloSign API? Try it free today T...
Should Freelancers Join a Professional Network?
Web Tricks

Should Freelancers Join a Professional Network?

One of the biggest concerns that freelancers have is that they can be isolated from others in similar fields. So can a professional network offer the additional resources you need to succeed? The answer is yes if you find the right group. Here are reasons why you should join a professional network and how to find one that’s right for you. You’ll Build Relationships The No. 1 reason to join a professional organization is to develop personal and business relationships. This can be vitally important to freelance web designers and developers because you most often work in isolation. A professional group can help you stay fresh in the design community as well as work with people who have different skills and strengths. You might find someone that you can refer work to when you are busy or a pe...
The Eleventh Fourth
CSS Tricks

The Eleventh Fourth

Holy heck it feels like the last year has flown by! Longtime readers will remember that the fourth of July is CSS-Tricks birthday and we blog it each year. We turned 10 last year, and now we welcome our first palindromic number birthday. Huge thank you First, as ever, thank you for being part of CSS-Tricks. However you end up here, we hope that we're useful to you, know that we're always trying to be even more useful to you, and know that you make the site possible. Can we ask you some questions? The whole point of this survey is to understand you better and use that understanding to make choices that serve you better. That's it! It's super helpful to us and totally anonymous. Take the CSS-Tricks Reader Survey A new design is coming Hate to be a tease, as there is nothing to show you ye...