Home / CSS Tips Generated By ChatGPT / Styling Disabled Buttons in CSS Visually indicate a button is disabled by changing its appearance. Source Code button:disabled { opacity: 0.5; cursor: not-allowed; }