Building A Static Site With Components Using Nunjucks

We’re so used to either a backend language or a JavaScript framework powering our data-backed components. I love me a Rails partial with a bunch of locals: {} or a <Component ...props /> but you don’t have to give up on components even if working in static HTML. With Nunjucks, which has includes and templates and macros, we have a robust toolset for building component-based sites that are easy, fast, and secure to host.

Direct Link to ArticlePermalink

The post Building A Static Site With Components Using Nunjucks appeared first on CSS-Tricks.

Read more

Animate a Container on Mouse Over Using Perspective and Transform

I’ve been working on a website in which large pictures are displayed to the user. Instead of creating a typical lightbox effect (a zoom-in animation with a black overlay) for these large pictures, I decided to try and make something more interactive and fun. I ended up coding an image container that tilts as the user moves the mouse cursor above it.

Here’s the final version:

See the Pen MrLopq by Mihai (@MihaiIonescu) on CodePen.

This effect …

The post Animate a Container on Mouse Over Using Perspective and Transform appeared first on CSS-Tricks.

Read more

​HelloSign API: Everything IT requires and Developers love.

(This is a sponsored post.)

We know that no API can write your code for you (unfortunately), but ours comes close. With in-depth documentation, customizable features, amazing support, and a dashboard that makes your code easy to debug, you won’t find an eSignature product with an easier path to implementation. Or that’s more liked by your team.

We wanted an API built by a team that valued user experience as much as we do. At the end of the …

The post ​HelloSign API: Everything IT requires and Developers love. appeared first on CSS-Tricks.

Read more

10 Tips for Designing Landing Pages That Don’t Suck

A landing page is the first experience your customer (or potential customer) will have with your brand. It has to convey information, encourage a call-to-action, and reflect your personality. It’s difficult! Today we’re sharing ten landing page design tips to help. If you just stick your logo and product image on a template, it’ll be […]
Read more

Build a Website for Any Business With Wix

Different business niches have completely different requirements when it comes to their website. Restaurants need a booking and menu system, musicians need support for playing their tracks, photographers need a beautiful gallery. No matter what business area you’re currently working on a project for, it’s worth taking a look at what Wix has to offer. […]
Read more

Short note on what CSS display properties do to table semantics

We’ve blogged about responsive tables a number of times over the years. There’s a variety of techniques, and which you choose should be based on the data in the table and the UX you’re going for. But many of them rely upon resetting a table element’s natural display value to something else, for example display: block. Steve Faulkner warns us:

When CSS display: block or display: grid or display: flex is set on the table element, bad things happen. …

The post Short note on what CSS display properties do to table semantics appeared first on CSS-Tricks.

Read more

Choosing Between React and Vue For WordPress Development

A few months ago I wrote on Quora, in response to a question if it’s better to learn Vue or React first. I said, “Learn VueJS first. I’d say that even if I knew there was a 100% chance you’d be using React in a year.” I’ve learned a lot more about React since then …
The post Choosing Between React and Vue For WordPress Development appeared first on Torque.
Read more

A Browser-Based, Open Source Tool for Alternative Communication

Have you ever lost your voice? How did you handle that? Perhaps you carried a notebook and pen to scribble notes. Or jotted quick texts on your phone.

Have you ever traveled somewhere that you didn’t speak or understand the language everyone around you was speaking? How did you order food, or buy a train ticket? Perhaps you used a translation phrasebook, or Google translate. Perhaps you relied mostly on physical gestures.

All of these solutions are examples of communication methods — tools and strategies — that you may have used before to solve everyday communicative challenges. The preceding examples are temporary solutions to temporary challenges. Your laryngitis cleared up. You returned home, where accomplishing daily tasks in your native tongue is almost effortless. Now imagine that these situational obstacles were somehow permanent.

The post A Browser-Based, Open Source Tool for Alternative Communication appeared first on CSS-Tricks.

Read more

30+ Best Modern & Futuristic Fonts

If you’re looking for a way to future-proof your designs, there’s no better way to start than finding a modern, futuristic font for your projects. And this collection of the best modern and futuristic fonts is a great place to start! We’ve picked out some of the best futuristic fonts you can use with your […]
Read more