Thinking on ways to solve BUTTONS
    
    
      
    
    
      
      Stay organized with collections
    
    
      
      Save and categorize content based on your preferences.
    
  
    
  
      
    
  
  
  
  
  
    
  
  
    
    
In today's GUI Challenge, @AdamArgyleInk  styles all the web's different button types with custom properties and :where(), for light/dark adaptive buttons that are easy to make new variants with.
Chapters:
- 0:00 - Introduction
- 0:19 - Overview
- 2:08 - Keyboard UX
- 2:46 - New theme switcher
- 3:09 - Mouse UX
- 3:34 - Buttons in forms
- 4:30 - Disabled button
- 5:22 - HTML
- 5:43 - CSS base selector
- 6:24 - Adaptive custom properties
- 7:20 - Button variants
- 10:10 - Live button variant building
- 11:18 - Recap
- 11:50 - Reduced motion
- 12:57 - Outro
Resources:
Watch more GUI Challenges → https://goo.gle/GUIchallenges
Subscribe to Google Chrome Developers → https://goo.gle/ChromeDevs 
arrow_back Back to all episodes
  
  
 
  
    
    
      
    
    
  
       
    
    
  
  
  Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License, and code samples are licensed under the Apache 2.0 License. For details, see the Google Developers Site Policies. Java is a registered trademark of Oracle and/or its affiliates.
  Last updated 2022-05-18 UTC.
  
  
  
    
      [[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Missing the information I need","missingTheInformationINeed","thumb-down"],["Too complicated / too many steps","tooComplicatedTooManySteps","thumb-down"],["Out of date","outOfDate","thumb-down"],["Samples / code issue","samplesCodeIssue","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2022-05-18 UTC."],[],[]]