Search
Using the Little-Known CSS element() Function to Create a Minimap Navigator
5.2.2019
W3C’s CSS Working Group often gives us brilliant CSS features to experiment with. Sometimes we come across something so cool that sticks a grin on our face, but it vanishes right away because we think, “that’s great, but what do I do with it?” The element() function was like that for me. It’s a...
Design v17
14.1.2019
We rolled out a new site design on January 1! This is the 17th version of CSS-Tricks if you can believe that. The versions tend to evolve a decent amount beyond the initial launch, but we archive screenshots on this design history page. Like I said in our 2018 thank you post:
This is easily...
The 10,000 Year Clock Design Principals
8.1.2019
In the new year edition of the Clearleft newsletter, Jeremy Keith linked to the design principals Danny Hillis thought about while considering a clock that would work for 10,000 years.
Here's part of that page, satisfyingly displayed as a <dl>:
Longevity:
Go slow
Avoid sliding friction...
Quicklink
3.1.2019
We're in the future now so, of course, we're working on ways to speed up the web with fancy new tactics above and beyond the typical make-pages-slimmer-and-cached-like-crazy techniques.
One tactic, from years ago, was InstantClick:
Before visitors click on a link, they hover over that link. Between...
Animating Between Views in React
21.12.2018
You know how some sites and web apps have that neat native feel when transitioning between two pages or views? Sarah Drasner has shown some good examples and even a Vue library to boot.
These animations are the type of features that can turn a good user experience into a great one. But to achieve...
Two Ways to Build a Site That Seem Super Different But Weirdly Aren’t That Different
14.12.2018
Here are two ways to build a site (abstractly) that feel diametrically opposed to me:
Build a site as an SPA (Single Page App). The page loads a skeleton HTML page that executes JavaScript as quickly as it can. The JavaScript calls an API to get data, and then the page renders content. Navigation...
An Introduction and Guide to the CSS Object Model (CSSOM)
10.12.2018
If you've been writing JavaScript for some time now, it's almost certain you've written some scripts dealing with the Document Object Model (DOM). DOM scripting takes advantage of the fact that a web page opens up a set of APIs (or interfaces) so you can manipulate and otherwise deal with elements...
Page Flip Layout
12.11.2018
A template with a two-sided, magazine-like layout and a flat page flip animation. The layout is powered by CSS Grid.
Page Flip Layout was written by Mary Lou and published on Codrops
Implementing Smooth Scrolling in React
8.11.2018
Smooth Scrolling, dont know what it is? Well, instead of clicking on a button and being instantly taken to a different part of the (same) page, the user is navigated there via a scroll animation.
Creating Apple's Website with Bootstrap 4
8.8.2018
In this step-by-step video lesson we will recreate Apple's iconic home page using Bootstrap 4 from scratch
WDRL — Edition 237: HTTP Not Secure in Chrome, PWA Retrospective, Page Lifecycle API, And Plastic Roads
27.7.2018
Hey,
My Twitter timeline sometimes results in an interesting mix between various topics from the tech industry, politics and human or environmental matters. Today I had such a moment when I scrolled and two tweets made a great connection without the authors knowing about it. First, I read that...
Collective #436
26.7.2018
Page Lifecycle API * Keyframes * Rockstar * Terminalizer * Malvid * Callback Exercises * DOM-wait * Pure CSS Stack * Weird things variable fonts can do
Collective #436 was written by Pedro Botelho and published on Codrops
Designing A Usable Contact Page In WordPress: Tips & Trends
21.7.2018
Every great website needs a contact page. You can set this up on a static HTML site or a CMS like WordPress which offers a lot of flexibility &...
The post Designing A Usable Contact Page In WordPress: Tips & Trends appeared first on Onextrapixel
Scrolling Gradient
13.7.2018
If you want a gradient that changes as you scroll down a very long page, you can create a gradient with a bunch of color stops, apply it to the body and it will do just that.
But, what if you don't want a perfectly vertical gradient? Like you want just the top left corner to change color? Mike...
One-Offs
2.7.2018
There is this sentiment that you don't design the homepage of a site first. For most sites, it's an anomaly. It's unlike any other page and not something to base the patterns you use for the rest of the site or help inform other pages.
You might call it a one-off.1
One-offs are OK! A world without...
Free E-book: Modernize for Mobile Apps
28.6.2018
(This is a sponsored post.)
No sign up required to read the free e-book.
Building modern apps (mobile, PWAs or Single Page Apps) that connect to legacy or enterprise systems is a pain. We put together an e-book that discusses the various options for how to make it all work. Here are some of...
Drawing Images with CSS Gradients
25.6.2018
What I mean by "CSS images" is images that are created using only HTML elements and CSS. They look as if they were SVGs drawn in Adobe Illustrator but they were made right in the browser. Some techniques I’ve seen used are tinkering with border radii, box shadows, and sometimes clip-path. You...
Osobní létající stroj The Flayer má 10 vrtulí létá na elektriku. Do vývoje investoval i Larry Page
10.6.2018
Larry Page, jeden ze zakladatelů Googlu a současný šéf Alphabetu, je fanouškem osobních létajících strojů. Jedním z jeho startupů, do kterých investuje, je i Kitty Hawk, který představil novou funkční verzi létajícího stroje, jež asi nejvíce připomíná kvadrokoptéru.
The Flyer, jak se stroj
Collapsing Logo Effect
5.6.2018
A recreation of the collapsing logo effect seen on PracticalVR. The idea is to have an initial view that animates to a logo in the top left corner of the page.
Collapsing Logo Effect was written by Mary Lou and published on Codrops
10 UX Tips to Build a High Converting Landing Page
28.5.2018
In the broader sense, a landing page is the web page through which a visitor “lands” a website. Homepages frequently serve as landing pages, however any other page can...
The post 10 UX Tips to Build a High Converting Landing Page appeared first on Onextrapixel