Posts

Showing posts from April, 2019

The Simplest Ways to Handle HTML Includes

It's extremely surprising to me that HTML has never had any way to include other HTML files within it. Nor does there seem to be anything on the horizon that addresses it. I'm talking about straight up includes , like taking a chunk of HTML and plopping it right into another. For example the use case for much of the entire internet, an included header and footer for all pages: ... <body> <include src="./header.html"></include> Content <include src="./footer.html"></include> </body> ... That's not real, by the way. I just wish it was. People have been looking to other languages to solve this problem for them forever. It's HTML preprocessing, in a sense. Long before we were preprocessing our CSS, we were using tools to manipulate our HTML. And we still are, because the idea of includes is useful on pretty much every website in the world. Use PHP Can you use PHP instead? ... <body> <?p

Revisiting prefers-reduced-motion, the reduced motion media query

Two years ago, I wrote about prefers-reduced-motion , a media query introduced into Safari 10.1 to help people with vestibular and seizure disorders use the web. The article provided some background about the media query, why it was needed, and how to work with it to avoid creating disability-triggering visual effects. The article was informed by other people’s excellent work, namely Orde Saunders ’ post about user queries , and Val Head ’s article on web animation motion sensitivity . We’re now four months into 2019, and it makes me happy to report that we have support for the feature in all major desktop browsers! Safari was first, with Firefox being a close second. Chrome was a little late to the party, but introduced it as of version 74. This browser support data is from Caniuse , which has more detail. A number indicates that browser supports the feature at that version and up. Desktop Chrome Opera Firefox IE Edge Safari 74 No 63 No No 10.1 Mobile

15+ Best WordPress Corporate/Business Themes for Entrepreneurs

20 Best Keynote Presentation Templates (Designs For Mac Users)

26 Best Photo Art Effects in Photoshop (Artistic PSD Actions)

How to Make a Report Icon in Adobe Illustrator

How to Make a Facebook Video Slideshow

How to Create Transitions in Ableton 10

Perceived Velocity through Version Numbers

HTML5 and CSS3 were big . So big that they were buzzwords that actually meant something and were a massive success story in pushing web technology forward. JavaScript names their big releases now too: ES6, ES7, ES8... and it seems like it will keep going that way. But HTML and CSS are done with that game. Shortly after the whole HTML5/CSS3 thing, the message was that there will be no HTML6/CSS4. There are reasons for that, like perhaps it's healthier for CSS modules to evolve independently of some global versioning number. That said... as Dave says: ... the lull in excitement since those days is palpable.... People aren't equally excited about the big three languages of the web. I’m on a bit of a quest to understand why these three technologies built to work together are so unequally yoked in popularity and their communities polarized from one another. One end of the spectrum experiences a boom while the other experiences a bust. The rising tide does not lift all boats

Best Wordpress Membership Plugins of 2019

15 Best Membership Plugins for Your WordPress Site

How to Use Firebase Firestore in an iOS App

10 Fun and Effective Crowdfunding Campaign Videos

Oh, the Many Ways to Make Triangular Breadcrumb Ribbons!

10 Top Trap Songs to Make Engaging Videos and Slideshows

42 Best InDesign Template Tutorials

20+ Minimal Business Cards (With Simple Modern Design Ideas) for 2019

How to Add a Glowing Photo Effect to a Portrait in Photoshop

How and Why: Get Maximum Reach with Facebook Video

How to Make Modern Websites With Clean WordPress Themes

10 Tips for Convincing Testimonial Videos (With Examples)

How to Use Video Effects in Premiere Pro

22 Best Fast Food Packaging Mockups

10 Presentation Design Tips (To Make the Best Pitch Deck)

How to Make a Gaming Video Intro for YouTube (With Premiere Pro Templates)

What Is the Best Font for a Resume? (Professional Size & Proper Type for 2019)

22+ Professional Business Resume Templates for 2019

100 Best Graphic Design Tutorials

Let’s Make A Design System! Live Coding at Smashing Conf

I had a great time at Smashing Conf San Francisco , where my session involved live-coding a design system on stage. It was the first time I’ve ever live-coded on stage before and was terribly nervous about the whole thing. Thankfully, it went well, especially because we got to build Yahoo Horoscopes and a few other hilarious Yahoo pages. I’d be happy to do this type of thing again in the future, which is good because I’ll be doing just that at other Smashing Confs this year. Here’s a video of my talk, and some links to concepts and resources I shared in it: I talked about the importance of creating a design system’s UI components in a frontend workshop environment . These components ultimately get displayed in a storefront environment that is the website style guide I talk about how tools like Pattern Lab and Storybook can serve as helpful frontend workshop environments, allowing teams to build not just components, but actual entire UI screens using those components. This lets

Interviewing for a Technical Position Doesn’t Have to Be Scary

Jacob Schatz ( @jakecodes ) is a staff engineer over at GitLab and was kind enough to share how he conducts job interviews for technical positions and his thinking process for them. Technical interviews are talked about often and can be a touchy subject for some, so it’s worth noting that this article expresses Jacob’s own opinions and are not necessarily shared by his employer. Are you an interviewee who is terrified, exhausted, sad, or disappointed? I'd love to change that stigma. I believe that people can have a great interview experience, and that I can simultaneously find the right candidate. Both things can happen at the same time! After your interview process is over, in a perfect world, regardless of outcome, you should feel good about yourself and the process. You might feel sad that you didn't get the job or excited to start your new job, but you should understand why in either situation. At GitLab, I was put in charge of hiring very early on, and as such, I'v

How to Make a Comic Book Cover

Learn Adobe InDesign From Scratch in Our New Course

Reading List 229

Link O’ The Week: Art Direction For The Web Using CSS Shapes by Andy Clarke Enriching Search Results Through Structured Data – SURPRISE! Structured data and semantic markup help SEO. Now with BIZ NUMBERS from Google. With unjustified recommendation to use JSON-LD, which I’ll blog about when I get more info about why they prefer that to HTML5 microdata Inclusively Hidden – methods of hiding content and the accessibility impacts of each, newly-updated by Scott O’Hara CSS Spatial Navigation Level 1 – “a general model for navigating the focus using the arrow keys, as well as related CSS, JavaScript features and Events”. N.B. Draft spec only. Why I’ve stopped exporting defaults from my JavaScript modules by Nicholas Zakas Accessibility Events – on the problems Apple’s choice to detect Assistive Technology use can cause, by Mat Marquis What JavaScript can learn from CSS – a nice 26 min talk by Jed Watson A history of the HTML slot element – “illustrates the complexity of prod

15 Top Wedding Slideshow Ideas (With Wedding PowerPoint Examples)

How to Layer Vocals When Mixing in Ableton 10

Corvid by Wix: Accelerated Development of Web Applications

How to Make a Newsletter Email Subscription Popup with the ConvertPlus WordPress Plugin

How to Build an Amazon Affiliate Website With a WooCommerce Affiliate Plugin

Using Parcel as a Bundler for React Applications

You may already be familiar with webpack for asset management on projects. However, there’s another cool tool out there called Parcel , which is comparable to webpack in that it helps with hassle-free asset bundling. Where Parcel really shines is that it requires zero configuration to get up and running, where other bundlers often require writing a ton code just to get started. Plus, Parcel is super fast when it runs because it utilizes multicore processing where others work off of complex and heavy transforms. So, in a nutshell, we’re looking at a number of features and benefits: Code splitting using dynamic imports Assets handling for any type of file, but of course for HTML, CSS and JavaScript Hot Module Replacement to update elements without a page refresh during development Mistakes in the code are highlighted when they are logged, making them easy to locate and correct Environment variables to easily distinguish between local and production development A "Production

Moving from Gulp to Parcel

Ben Frain just made some notes about the switch from Gulp to Parcel , a relatively new "web application bundler" which, from a quick look at things, is similar to webpack but without all the hassle of setting things up. One of the things I’ve always disliked about webpack is that you kinda have to teach it what CSS, HTML and JS are before making whatever modifications you want to those files. However, Parcel does a lot of the asset management and configuration stuff for us which is super neat — hence, Parcel claim that it requires “zero configuration.” If you’d like to learn more about Parcel then there’s a great post by Indrek Lasn that details how to get started and even shows off a little bit about how Parcel is often faster than alternatives like webpack. We also just published a post by Kingsley Silas that explains how to use Parcel with React . Direct Link to Article — Permalink The post Moving from Gulp to Parcel appeared first on CSS-Tricks . from CSS-Tricks

100 Free Photoshop Actions (And How to Make Your Own)

Tips for Using Location-Based Photos on Your Website

20 Creative Business Card Templates (Colorful Unique Designs for 2019)

How to Make a Retro Comic Book Portrait Effect Action in Photoshop

15 Ready-Made Ionic 3 App Templates

Image
With  Ionic , creating a high-performance, cross-platform mobile app is as easy as creating a website. Seasoned web developers, or anyone with an intimate knowledge of JavaScript can easily get up and running with Ionic. Its ability to create native apps on Android, iOS, and more with a JS framework and a single codebase make it a breeze to pick up. I assure you, you'll take to it like a fish to water. Building a feature-rich Ionic app with an elegant user interface, however, can be challenging—even more so if it is to look native on multiple platforms. Fortunately, by using a ready-made Ionic template, you can save substantial amounts of time and effort. CodeCanyon  is one of the largest online marketplaces for Ionic templates. No matter what your app's requirements are, there's a good chance that CodeCanyon has a template for it. In this article, I'm going to list 15 outstanding Ionic app templates you should consider using this year. What Is An Ionic App Template?