Search

Nalezeno "you": 5889

Smaller HTML Payloads with Service Workers


Short story: Philip Walton has a clever idea for using service workers to cache the top and bottom of HTML files, reducing a lot of network weight. Longer thoughts: When you're building a really simple website, you can get away with literally writing raw HTML. It doesn't take long to need a...

Lightning-Fast Web Performance


If you're interested in leveling up your knowledge and skill of web performance, you can't do better than learning directly from Scott Jehl. Direct Link to Article — Permalink… Read article The post Lightning-Fast Web Performance appeared first on CSS-Tricks

Sticky Table of Contents with Scrolling Active States


Say you have a two-column layout: a main column with content. Say it has a lot of content, with sections that requires scrolling. And let's toss in a sidebar column that is largely empty, such that you can safely put a position: sticky; table of contents over there for all that content in the main...

“resize: none;” on textareas is bad UX


Catalin Rosu: Sometimes you need to type a long reply that consists of many paragraphs and wrapping that text within a tiny textarea box makes it hard to understand and to follow as you type. There were many times when I had to write that text within Notepad++ for example and then just paste...

Understanding Immutability in JavaScript


If you haven’t worked with immutability in JavaScript before, you might find it easy to confuse it with assigning a variable to a new value, or reassignment. While it’s possible to reassign variables and values declared using let or var, you'll begin to run into issues when you try that with...

Uses This


A little interview with me over on Uses This. I'll skip the intro since you know who I am, but I'll republish the rest here. What hardware do you use? I'm a fairly cliché Mac guy. After my first Commodore 64 (and then 128), the only computers I've ever had have been from Apple. I'm...

Free Website Builder + Free CRM + Free Live Chat = Bitrix24


(This is a sponsored post.) You may know Bitrix24 as the world’s most popular free CRM and sales management system, used by over 6 million businesses. But the free website builder available inside Bitrix24 is worthy of your attention, too. Why do I need another free website/landing...

How Do You Do max-font-size in CSS?


CSS doesn't have max-font-size, so if we need something that does something along those lines, we have to get tricky. Why would you need it at all? Well, font-size itself can be set in dynamic ways. For example, font-size: 10vw;. That's using "viewport units" to size the type, which will...

Resizing Values in Steps in CSS


There actually is a steps() function in CSS, but it's only used for animation. You can't, for example, tell an element it's allowed to grow in height but only in steps of 10px. Maybe someday? I dunno. There would have to be some pretty clear use cases that something like background-repeat: space...

Practice GraphQL Queries With the State of JavaScript API


Learning how to build GraphQL APIs can be quite challenging. But you can learn how to use GraphQL APIs in 10 minutes! And it so happens I've got the perfect API for that: the brand new, fresh-of-the-VS-Code State of JavaScript GraphQL API. The State of JavaScript survey is an annual survey of...

Cold Storage and Bearer Bonds: How to Print an SLP Token Paper Wallet 


The Simple Ledger Protocol (SLP) and tokens have become a mainstay within the Bitcoin Cash ecosystem. SLP tokens have gathered traction as they are supported by multiple noncustodial wallets and a slew of tokens gained real-world value after being listed on exchanges. Even though SLP tokens...

Use and Reuse Everything in SVG… Even Animations!


If you are familiar with SVG and CSS animations and started to work with them often, here are some ideas you might want to keep in mind before jumping into the job. This article will be about learning how to build and optimize your code with <use> element, CSS Variables and...

Set Type on a Circle… with offset-path


Here's some legit CSS trickery from yuanchuan. There is this CSS property offset-path. Once upon a time, it was called motion-path and then it was renamed. I sort of rolled my eyes at the time, because the property is so obviously for animating things along a path. But you don't have to use it...

aviationstack


(This is a sponsored post.) I wonder how many startup ideas have something to do with air travel? 🤔 It's such a big industry with so many pain points its no wonder that it inspires ideas for building new products. Here's the thing about a lot of startup ideas: you need data. Chances...

Hack this Bitcoin Wallet and its Owner Will Give You USD 250,000


If you’ve got high-level IT skills and fancy making a cool USD 250 thousand, one company wants to hear from you. All you need to do is break into their crypto wallet – and make away with thousands of dollars’ worth of Bitcoin. But the firm says the task won’t be an easy one, as they believe...

Localcryptos Lets You Cash Out BTC P2P – Minus the KYC 


If you’ve ever had a sudden need for fiat while all in crypto, you’ll understand the difficulty of cashing out without KYC-ing away your identity and that of your unborn children. Localbitcoins is now an AML hellhole, Bisq is great if you’re happy to wait two days for a trade...

Going Beyond Automatic SVG Compression With the “use” Element


If you draw your own SVG files or if you download them from the internet, tools like this SVG-Editor or SVGOMG are your friends. Compressing the files with those tools takes only few seconds and reduces your file size a lot. But if you need to use your SVG inline to animate or interact with...

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