Search
Animate Text on Scroll
13.1.2020
We covered the idea of animating curved text not long ago when a fun New York Times article came out. All I did was peek into how they did it and extract the relevant parts to a more isolated demo.
That demo is here:
See the Pen
Selfie Crawl by Chris Coyier (@chriscoyier)
...
CSS-Only Carousel
10.1.2020
It's kind of amazing how far HTML and CSS will take you when building a carousel/slideshow.
Setting some boxes in a horizontal row with flexbox is easy.
Showing only one box at a time with overflow and making it swipable with -webkit-overflow-scrolling is easy.
You can make the "slides" line...
Fantastic Flight API with aviationstack (Sponsored)
9.1.2020
I didn’t fly until I was 25 years of age — I was hopeless in knowing I had to be there early, the process of security, and the whole gate structure. Now that I’ve flown dozens of times for Mozilla, I feel much more comfortable with the process of flying, but feel less comfortable...
The Auto-Flowing Powers of Grid’s Dense Keyword
8.1.2020
Let's say we're working on the homepage of a news website. You're probably used to seeing some card-based content in a grid layout, right? Here's a classic example, The New York Times:
Yeah, something like that.
There are going to be some cards/elements/boxes/whatever that need to take up more...
[článek] Zajímavosti z CES 2020: Auto od Sony, rolovací televize i ohebný laptop
8.1.2020
[čtení do minuty] V Las Vegas se tradičně představuje možná budoucnost spotřební elektroniky. Co zajímavého se zatím na veletrhu CES 2020 objevilo? V Las Vegas se tradičně představuje možná budoucnost spotřební elektroniky. Co zajímavého se zatím na veletrhu CES 2020 objevilo?
How Auto Margins Work in Flexbox
6.1.2020
Robin has covered this before, but I've heard some confusion about it in the past few weeks and saw another person take a stab at explaining it, and I wanted to join the party.
Say you have a flex container with some flex items inside that don't fill the whole area.
See the Pen
ZEYLVEX...
Duplicated Argument Names
6.1.2020
Oftentimes we override or monkey patch functions and, in many cases, there are arguments we don’t care too much about. A common practice for those arguments is using _ for argument names — it’s a generally accepted and known practice for “this isn’t important”....
Validate CSP from Command Line
2.1.2020
The content security policy spec has been an amazing front-end security tool to help prevent XSS and other types of attacks. I’d go as far to say that every site should implement as specific CSP as possible. If you aren’t familiar with CSPs, here’s a quick example:...
Goals For 2020
30.12.2019
Every new year brings about a sense of optimism that the next 365 can bring about big, positive changes in different phases of life. That’s no exception for me and this blog. I did pretty well with last year’s goals, so I thought I’d push myself again with a new set of goals. Be...
Make a smooth shadow, friend.
19.12.2019
One box-shadow is cool and all, but check out Philipp Brumm's tool for building out comma-separated multiple box-shadows, which result in a much smoother and more natural look.
This reminds me very much of the idea for easing linear-gradient. In a gradient, this smoothing effect is handled...
[článek] Tady se testují virtuální škodovky. Podívejte se na superpočítač ve Škoda Auto
18.12.2019
[4 minuty čtení] V patrně největším firemním datovém centru v ČR se nalézají dva počítačové clustery, skrývající 1008 výpočetních uzlů a 24 192 procesorových jader a dosahující výkonu 2 petaFLOPS. Uvnitř: FOTOREPORTÁŽ. Jak vypadá nejnovější (jen něco přes měsíc stará) technologická hračka...
Detecting Inactive Users
13.12.2019
Most of the time you don’t really care about whether a user is actively engaged or temporarily inactive on your application. Inactive, meaning, perhaps they got up to get a drink of water, or more likely, changed tabs to do something else for a bit. There are situations, though, when tracking...
Bitcoin Mining Operations Offer New Strategies Before Reward Reduction
10.12.2019
As the reward halving approaches, bitcoin miners are preparing new strategies so customers can reap the most profits from their hashrate services. On December 3, the mining operation Poolin introduced a hashrate auto-switch feature so clients can automatically switch between BTC and BCH mining....
JavaScript ~~
9.12.2019
JavaScript is loaded with tiny syntax tricks to accomplish useful effects. For example, explore any codebase to see !! being used to convert a value to a boolean value. Have you seen ~~ before? Let’s have a look at what it does! We can employ ~~ to trigger a Math.floor operation with those...
Auto Layout lands in Figma
5.12.2019
Here’s a fresh update to my favorite design tool that is thoroughly exciting: Auto layout! That means we can make frames that resize based on the size of the content within it. That's particularly useful for buttons in a design system where you want to drop a button on the page and then keep...
2019 Year in Review
5.12.2019
The beginning of every year starts out with all of us setting ambitious goals — goals being personal and professional. Many of us rarely complete half of those goals, most abandoning them by the end of the year. In January of this year I published my list of goals for the year. Let’s...
Masking GIFs with other GIFs
3.12.2019
The other day, Cassie Evans tweeted a really neat trick that I’ve never seen before: using SVG to mask one GIF on top of another. The effect is quite lovely, especially if you happen to grab a colorful GIF and place it on top of a monochrome one:
See the Pen
Masking gifs with other gifs......
Už i Lego si utahuje z Tesly Cybertruck. Představilo své vlastní hranaté „nerozbitné auto“
28.11.2019
Asi žádný automobil nevyvolal v posledních letech tolik kontroverze, jako nedávno představený elektrický pick-up Tesla Cybertruck. Emocím nedokázali odolat ani tvůrci legendární dánské stavebnice Lego , kteří v rámci nespočtu parodií na novou Teslu představili své vlastní „nerozbitné auto“.
Z
Mirror Android Device to Computer
26.11.2019
As I continue my adventure into Android development, pair programming has been a huge help in learning this new platform. When it’s time to build and run the app, relying on the emulator is a fools’ game — the emulator is slow and it’s hard to reliably simulate gestures....
Image Lazy Loading
25.11.2019
Lazy loading images is a practice that’s been popular for a decade and for good reason: images are usually the heaviest downloads on a given webpage and avoiding unloading images that are never seen saves the user bandwidth. There are plugins for lazy loading images in every JavaScript...