Search
How to Recreate the Ripple Effect of Material Design Buttons
12.10.2020
When I first discovered Material Design, I was particularly inspired by its button component. It uses a ripple effect to give users feedback in a simple, elegant way.
How does this effect work? Material Design’s buttons don’t just sport a neat ripple animation, but the animation also...
How to Make an Unobtrusive Scroll-to-Top Button
5.10.2020
A button to return to the top of the page allows the user to quickly return to the top of the page without making too much effort. This can be very useful when the page has a lot of content or which happens, for example, on one page websites, when infinite scrolling is used, or on mobile devices...
Using a brightness() filter to generically highlight content
12.9.2020
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,...
Copy the Browser’s Native Focus Styles
28.8.2020
Remy documented this the other day. Firefox supports a Highlight keyword and both Chrome and Safari support a -webkit-focus-ring-color keyword. So if you, for example, have removed focus from something and want to put it back in the same style as the browser default, or want to apply a focus style...
Bitcoin.com Wallet Launches Cred’s 1-Touch “Earn” Button
23.8.2020
Bitcoin.com, a global blockchain leader with over 11 million Bitcoin wallets, and Cred, a global blockchain-enabled financial services platform serving clients in 190 countries, today announced a major milestone in their ongoing strategic partnership. The latest Bitcoin.com wallet now features...
Practical Use Cases for JavaScript’s closest() Method
12.8.2020
Have you ever had the problem of finding the parent of a DOM node in JavaScript, but aren’t sure how many levels you have to traverse up to get to it? Let’s look at this HTML for instance:
<div data-id="123"<buttonClick me</button</div
That’s pretty straightforward, right? Say...
Magnetic Buttons
5.8.2020
A small set of magnetic buttons with some fun hover animations.
The post Magnetic Buttons appeared first on Codrops
Dark Ages of the Web
30.7.2020
A very fun jaunt through the early days of front-end web development. They are open to pull requests, so submit one if you’re into this kind of fun chronicling of our weird history!
That CSS3 Button generator really hits home. 😬
Direct Link to Article — Permalink… Read...
Cake DeFi: A One-Stop Shop for Generating Yield
29.7.2020
Cake DeFi, a platform that allows users to generate cash flow through pooled masternode staking and options lending, has created a platform with a clean user interface that allows anyone from the novice to the time-starved investor, to start earning interest on their cryptocurrency with a couple...
Pausing a GIF with details/summary
22.7.2020
Steve Faulkner has a clever idea here. You can show an (animated) GIF and overlay a pause/play button on top of it — which is really a <details>/<summary> element. When toggled, a (non-animated) JPG inside covers the GIF, effectively “pausing” it.
Adrian Roselli calls...
Displaying the Current Step with CSS Counters
8.7.2020
Say you have five buttons. Each button is a step. If you click on the fourth button, you’re on step 4 of 5, and you want to display that.
This kind of counting and displaying could be hard-coded, but that’s no fun. JavaScript could do this job as well. But CSS? Hmmmm. Can it? CSS...
Bitcoin Undo Button & Fleeing Firms: Bad Crypto News of the Week
6.7.2020
Check out this week’s Bad Crypto podcast
An Israeli Blockchain Startup Claims They’ve Invented an ‘Undo’ Button for Bitcoin Transactions
30.6.2020
A two-year-old Israeli blockchain startup says it has found a way to cancel crypto transactions if they are sent to the wrong wallet address
The Many Bad (and Good!) Patterns for Close Buttons
27.5.2020
Manuel Matuzović details 10 bad HTML patterns for a close button. You know, stuff like this:
<a class="close" onclick="close()"×</a
Why is that bad? There is no href there, so it really isn’t a link (close buttons aren’t links). Not to mention the missing href makes this...
Collective #601
9.4.2020
LCH colors in CSS * Frontend Mentor * Responsive Images the Simple Way * Button?Design * Interactive Timetable
Collective #601 was written by Pedro Botelho and published on Codrops
CSS Can Influence Screenreaders
23.3.2020
Ben Myers covers some clear examples of where CSS totally changes what some screen readers announce. For example, some screenreader will see text-transform: uppercase; on a button label that says "Add" and read it like an abbreviation, "A.D.D."
These cases of CSS messing with our screenreader...
Playing With Particles Using the Web Animations API
18.3.2020
When it comes to motion and animations, there is probably nothing I love more than particles. This is why every time I explore new technologies I always end up creating demos with as many particles as I can.
In this post, we'll make even more particle magic using the Web Animations API to create...
13 Crypto Debit Cards You Can Use Right Now
28.2.2020
If cryptocurrency is designed to reconstruct the financial world while introducing major improvements in transaction speed, privacy, cost and convenience, debit cards represent a useful bridge between old and new. A preponderance of crypto debit card options now exist that allow cryptocurrency...
How to Protect Bitcoin for Your Heirs With the Push of a ‘Dead Man’s Button’
24.2.2020
What happens to your bitcoin after you die? Lightning developers think a "dead man's button" could be a new tool to passing your crypto to your heirs
Solving Sticky Hover States with @media (hover: hover)
18.2.2020
Mezo Istvan does a good job of covering the problem and a solution to it in a blog post on Medium¹.
If you tap on something that has a :hover state but you don't leave the page then, on a mobile device, there is a chance that :hover state "sticks." You'll see this with stuff like jump-links used...