Skip to content

Latest commit

 

History

History
74 lines (53 loc) · 2.79 KB

File metadata and controls

74 lines (53 loc) · 2.79 KB
author handle source date likes retweets replies
Ajay Yadav 🎯
@ATechAjay
December 20, 2021 8:25 AM
10
9
1

ATechAjay Ajay Yadav 🎯 (@ATechAjay) - December 20, 2021 8:25 AM

💚Day 3️⃣4️⃣ / 1️⃣ 0️⃣0️⃣ days of Master in CSS Design series!

💥Today we going to design a hoverable button using a clip-path.

❓What's the main logic behind it with the codepen link?

#100DaysOfCode
[#web development](https://twitter.com/hashtag/webdevelopment)
#web

Let me explain!🧵↓↓ pic.twitter.com/NA9TSEpzPh

📌 So for this design, first you have to complete this topic from this thread.

↓↓ twitter.com/ATechAjay/stat…

ATechAjay Ajay Yadav 🎯 (@ATechAjay) - December 19, 2021 3:21 PM

💥 Circle function in clip-path!

→ This is one of the most important functions in a clip-path like a "polygon" function.

→ If you know this function, then you will be able to design some great components of the websites.

#100DaysOfCode
#CodeNewbie #webdev

A Thread 🧵↓ pic.twitter.com/RXu3BTI6qQ

3_1472525397581438982

1️⃣ Now you have to add your HTML code like this!

↓↓ pic.twitter.com/d6g6OP5G6H

3_1472782999741632513

2️⃣ After that you have to design your span tag inside the button tag.

→ key points(Don't forget)

3_1472783470682279940

3️⃣ Finally, when we hover over the button, then(in span tag) the value of the circle function is set to 100%.

↓↓ pic.twitter.com/BjG0dOYOyK

3_1472783794771951616

→ codepen link:

codepen.io/atechajay/pen/…

Thread link