Search

Nalezeno "you": 7757

A More Accessible Portals Demo


The point of the <portal> element (behind a flag in Chrome Canary) is that you can preload another whole page (like <iframe>), but then have APIs to animate it to the current page. So "Single Page App"-like functionality (SPA), but natively. I think that's pretty cool. I'm a fan...

When Cash Is Banned, Centralized Cryptos Are Not Going to Save You


Australia is now moving forward with its proposed legislation to ban cash purchases over 10,000 AUD ($6,900) for business purposes. According to the treasury website: “The Black Economy Taskforce recommended this action to tackle tax evasion and other criminal activities.” While many...

Creating Dynamic Routes in a Nuxt Application


In this post, we’ll be using an ecommerce store demo I built and deployed to Netlify to show how we can make dynamic routes for incoming data. It’s a fairly common use-case: you get data from an API, and you either don’t know exactly what that data might be, there’s a lot of it, or it might change....

The Simplest Way to Load CSS Asynchronously


Scott Jehl: One of the most impactful things we can do to improve page performance and resilience is to load CSS in a way that does not delay page rendering. That’s because by default, browsers will load external CSS synchronously—halting all page rendering while the CSS is downloaded...

Run useEffect Only Once


React has a built-in hook called useEffect. Hooks are used in function components. The Class component comparison to useEffect are the methods componentDidMount, componentDidUpdate, and componentWillUnmount. useEffect will run when the component renders, which might be more times than you think....

Getting design system customization just right


I had a little rant in me a few months ago about design systems: "Who Are Design Systems For?" My main point was that there are so many public and open source ones out there that choosing one can feel like choosing new furniture for your house. You just measure up what you need and what you like...

Large Regulated Token Sales Indicate ICOs May Be Coming Back


Initial coin offerings have seen a significant decline in popularity, but they are not to be written off completely. Although you don’t hear the term “ICO” so often nowadays, some recent regulatory developments indicate they have a place in the digital economy realm. Crowdfunding...

Unbanked for Buying Bitcoin: How the Financial System Criminalizes Crypto


When we think of the unbanked, we envisage citizens of developing nations who lack the means and documentation to obtain access. But you don’t have to be a Mongolian goat herder to find yourself financially excluded. In the West, relatively affluent citizens are having their banking services...

Hey, Gov’t Officials! Do You Still Think You Can Ban Bitcoin?


Juan Villaverde is an econometrician and mathematician devoted to the analysis of cryptocurrencies since 2012. He leads the Weiss Ratings team of analysts and computer programmers who created Weiss cryptocurrency ratings. _____________ Dear government official, If you’re a member of Congress...

Telling the Story of Graphic Design


Let me just frame this for you: we're going to take a piece of production UI from a Sketch file, break it down into pieces of information and then build it up into a story we tell our friends. Our friends might be hearing, or seeing, or touching the story so we are going to interpret and translate...

Datalist is for suggesting values without enforcing values


Have you ever had a form that needed to accept a short, arbitrary bit of text? Like a name or whatever. That's exactly what <input type="text"> is for. There are lots of different input types (and modes!), and picking the right one is a great idea. But this little story is about something...

JavaScript Proxy with Storage


The JavaScript Proxy API provides a wealth of “magic” within JavaScript, allowing you to use any object as sort of an alias that allows a wall of validation, formatting, and error throwing. Did you know that you could also employ the Proxy API as an abstraction to different types...

Responsive Iframes


Say you wanted to put the CSS-Tricks website in an <iframe>. You'd do that like this: <iframe src="https://css-tricks.com"></iframe> Without any other styling, you'd get a rectangle that is 300x150 pixels in size. That's not even in the User Agent stylesheet, it's just some...

The Next Big Financial Meltdown Is Around the Corner, Many Voices Warn


“The economy is looking great,” how many times have they told you that? And why do you usually hear it when you are late on a mortgage payment or during a downsizing purge at your company? Relying on your senses is always a safer bet than trusting the wishful thinking of those...

Don’t comma-separate :focus-within if you need deep browser support


I really like :focus-within. It's a super useful selector that allows you to essentially select a parent element when any of its children are in focus. Say you wanted to reveal some extra stuff when a <div> is hovered... div:hover { .extra-stuff { /* reveal it */ } } That's...

10 Need to Know Mac Terminal Commands


If you want to get into web development, knowing what the Terminal is and how to use it is very beneficial. But there are some essential commands that we’ll go over so we feel comfortable using it

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