Search

Nalezeno "the one": 5639

5 Awesome JavaScript Promise Tricks


The Promise API changed the game in JavaScript. We went from abusing setTimeouts and settling for synchronous operations to doing everything possible to leverage this new async API. Let’s check out a handful of awesome Promise API tricks! Cancel a fetch Request One problem we instantly...

Read Me!


A fancy experiential essay from the team at Readymag, which is a tool for building… fancy experiential essays, about fancy experiential essays: With all the technology addressing readability issues, it’s still design basics that distinguish a readable text from one that isn’t. Here are some...

Using a brightness() filter to generically highlight content


Rick Strahl: I can’t tell you how many times over the years I’ve implemented a custom ‘button’ like CSS implementation. Over the years I’ve used images, backgrounds, gradients, and opacity to effectively ‘highlight’ a control. All that works of course,...

Sushiswap Creator Returns $14 Million After Community Cries Exit Scam


One week after the Sushiswap creator was accused of an exit scam, he has returned all of the coins he cashed out. The anonymous creator also apologizes to the community, including to Binance which came under fire for listing the sushi token. Sushiswap Creator Says ‘Sorry’ The creator...

Modifying Specific Letters with CSS and JavaScript


Changing specific characters can be a challenge in CSS. Often, we’re forced to implement our desired changes one-by-one in HTML, perhaps using the span element. But, in a few specific cases, a CSS-focused solution may still be possible. In this article, we’ll start by looking at some CSS-first...

How CSS Perspective Works


As someone who loves creating CSS animations, one of the more powerful tools I use is perspective. While the perspective property is not capable of 3D effects all by itself (since basic shapes can’t have depth), you can use the transform property to move and rotate objects in a 3D space (with...

One Action, Multiple Terminal Windows Running Stuff


Many development environments require running things in a terminal window. npm run start, or whatever. I know my biggest project requires me to be running a big fancy Docker-based thing in one terminal, Ruby on Rails in another, and webpack in another. I’ve worked on other projects that...

All the Ways to Make a Web Component


This is a neat page that compares a ton of different libraries with web components. One of the things I learned after posting “A Bit on Web Components Libraries” is that the web platform APIs were designed for libraries to be built around them. Interesting, right? This page makes...

Using max() for an inner-element max-width


I go into all this in The “Inside” Problem. The gist: you want an edge-to-edge container, but the content inside to have a limited width. I think there is absolutely no problem using a nested element inside, but it’s also fun to look at the possibilities of making that work on...

How to Leverage Uniswap – Ethereum’s Noncustodial Defi Trading Platform


In 2020 decentralized exchanges (dex) have grown quite mature compared to just a few years ago. One specific dex gathering a lot of steam this year in the defi world is Uniswap, a trading platform that held $1.3 billion locked in value and dominated most defi applications by over 18% Friday...

Robert Rorschach: 20 Reasons Not to Vote


If one votes, one participates. If one participates, one condones and endorses the process, and subsequently, what those elected ‘representatives’ do and say in your name. Reason 2. Electoral promises are meaningless because politicians are able to lie to gain the favor of...

How to Use CSS Grid for Sticky Headers and Footers


CSS Grid is a collection of properties designed to make layout easier than it’s ever been. Like anything, there’s a bit of a learning curve, but Grid is honestly fun to work with once you get the hang of it. One area where it shines is dealing with headers and footers. With a little...

Nahoru
Tento web používá k poskytování služeb a analýze návštěvnosti soubory cookie. Používáním tohoto webu s tímto souhlasíte. Další informace