YoVDO

Creating a CSS-Only Directionally Aware Button

Offered By: Kevin Powell via YouTube

Tags

HTML & CSS Courses Computer Science Courses Web Development Courses User Interface Design Courses

Course Description

Overview

Learn how to create a CSS-only directionally aware button in this 17-minute tutorial. Explore the power of :has() selector to achieve dynamic effects without JavaScript. Start with HTML and basic CSS, then set up hover zones and add pseudo-elements for the desired effect. Discover techniques to make the effect work from the middle and sides, improve the overall appearance, and enhance the button's look when releasing a click. Gain insights into browser support and access additional resources on CSS techniques. Perfect for web developers looking to enhance their CSS skills and create interactive UI elements without relying on JavaScript.

Syllabus

- Introduction
- The HTML and starting CSS
- Setting up the hover zones
- Adding a pseudo-element for the effect
- Making the effect work from the middle
- Making the effect work from the sides
- Improving how it looks
- Improving the look when you let go of the click
- Browser support


Taught by

Kevin Powell

Related Courses

Software as a Service
University of California, Berkeley via Coursera
Intro to Computer Science
University of Virginia via Udacity
Web Development
Udacity
Software Engineering for SaaS
University of California, Berkeley via Coursera
CS50's Introduction to Computer Science
Harvard University via edX