Search

Nalezeno "buttons": 54

Sanding UI


Jim hit a snag while working on a form. Placing labels next to inputs is trivial with flexbox, sure, but what happened in Jim’s case was a bit of dead-clicking between the labels and radio buttons. The issue? Not the … Sanding UI originally published on CSS-Tricks, which is part of...

Hades 2 Is A Good Time On Steam Deck (Here’s How To Make It Better)


Hades 2 arrived via Early Access on Steam and the Epic Games Store on May 6 and already it’s been stirring up a ton of excitement. If you’re looking to take its Greek-mythos-inspired roguelike action-RPG gameplay on the go with the Steam Deck, there are a few settings you may wish to tweak. Read...

Cyberpunk 2077 Gets One Thig Right: Cars Need Buttons


The world of Cyberpunk 2077 is one where technological innovation has run wild. Its citizens are full of robot parts, can send data with their minds and can literally see other people’s dreams and memories. Yet despite all this, one aspect of everyone’s daily lives is still incredibly quaint...

Styling Buttons in WordPress Block Themes


A little while back, Ganesh Dahal penned a post here on CSS-Tricks responding to a tweet that asked about adding CSS box shadows on WordPress blocks and elements. There’s a lot of great stuff in there that leverages new features … Styling Buttons in WordPress Block Themes originally...

Increase Your Reach


NGL, I was a little overwhelmed when I sat down to write this article. There are so many things that immediately flooded my mind—take out any extra divs; use links for URLs, use buttons for events and actions; use …

Standardizing Focus Styles With CSS Custom Properties


Take two minutes right now and visit your current project in a browser. Then, using only the Tab key, you should be able to navigate between interactive elements including buttons, links, and form elements. If you are sighted, you should…

Zero Trickery Custom Radios and Checkboxes


I feel like half of all “custom-designed radio buttons and checkboxes” do two things: Make them bigger Colorize them I always think of SurveyMonkey for having big chunky radios and checkboxes. And indeed, just poking at their interface quickly, even … The post Zero Trickery...

Buttons vs. Links


There are thousands of articles out there about buttons and links on the web; the differences and how to use them properly. Hey, I don’t mind. I wrote my own as well¹. It’s such a common mistake on … The post Buttons vs. Links appeared first on CSS-Tricks. You can support...

CSS-ing Candy Ghost Buttons


Recently, while looking for some ideas on what to code as I have zero artistic sense so the only thing I can do is find pretty things that other people have come up with and remake them with clean and … The post CSS-ing Candy Ghost Buttons appeared first on CSS-Tricks. You can support...

Tales Of Arise Is Even Better If You Remap The Buttons


For years, Bandai Namco’s Tales games have largely been role-playing games with an action bent. Tales of Arise, out now for PlayStation, Xbox, and PC, is as close to a pure action game as ever, thanks to a streamlined battle system and a switch on the development end to the Unreal engine. It rules....

Some Articles About Accessibility I’ve Saved Recently III


The perfect link — Rian Rietveld defines them: “When you click on them, they take you somewhere else.” Not much code in here (we’ve got that), just a lot of practical accessibility advice. For example, the alt text … The post Some Articles About Accessibility I’ve Saved...

When a Click is Not Just a Click


The click event is quite simple and easy to use; you listen for the event and run code when the event is fired. It works on just about every HTML element there is, a core feature of the DOM API.… The post When a Click is Not Just a Click appeared first on CSS-Tricks. You can support...

Making Disabled Buttons More Inclusive


Let’s talk about disabled buttons. Specifically, let’s get into why we use them and how we can do better than the traditional disabled attribute in HTML (e.g. <button disabled> ) to mark a button as disabled. There are lots of … The post Making Disabled Buttons More Inclusive...

Some Performance Blog Posts I’ve Bookmarked and Read Lately


Back/forward cache — I always assumed browsers just do fancy stuff with the back/forward buttons and us developers had very little control. Philip Walton tells us it’s critical that we understand “what makes pages eligible (and ineligible) for bfcache to … The post Some...

“Yes or No?”


Sara Soueidan digs into this HTML/UX situation. “Yes” or “no” is a boolean situation. A checkbox represents this: it’s either on or off (uh, mostly). But is a checkbox always the best UX? It depends, of course: Use radio buttons if you expect the answer to be equally...

How to Recreate the Ripple Effect of Material Design Buttons


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


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


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,...

Magnetic Buttons


A small set of magnetic buttons with some fun hover animations. The post Magnetic Buttons appeared first on Codrops

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