Тёмный

Creative Section Breaks Using CSS Clip-Path 

CSS Weekly
Подписаться 8 тыс.
Просмотров 5 тыс.
50% 1

Learn how to use CSS clip-path and Clip Path editor in Firefox DevTools to create beautiful, fluid section breaks, dividers, and separators.
🔗 Links
Demo: codepen.io/ZoranJambor/pen/vY...
Clip-Path on MDN: developer.mozilla.org/en-US/d...
Clip-Path Converter: yoksel.github.io/relative-cli...
📖 Timestamps
00:00 Intro
00:30 How clip-path works
01:21 Creating a header separator using clip-path: ellipse()
01:46 How Clip Path Editor in Firefox DevTools works
05:06 Creating a slanted header separator using clip-path: polygon()
06:34 Creating interesting hero section shapes using clip-path polygon()
07:54 Creating fluid section separators using SVG with clip-path: url()
09:40 Using Clip-Path Converter to convert absolute clip-path to relative
11:38 Conclusion
Support CSS Weekly by buying my course:
🔥 Mastering Prettier & Stylelint: masteringlinting.com/
Subscribe to CSS Weekly Newsletter:
💌 css-weekly.com/
Keep up-to-date with CSS Weekly:
👉 Twitter: / cssweekly
👉 Instagram: / cssweekly
👉 Facebook: / cssweekly
Keep up to date with what I'm up to:
🔗 Blog: zoranjambor.com
👉 Twitter: / zoranjambor
👉 LinkedIn: / zoranjambor
- Zoran Jambor
#css #frontend

Наука

Опубликовано:

 

17 май 2024

Поделиться:

Ссылка:

Скачать:

Готовим ссылку...

Добавить в:

Мой плейлист
Посмотреть позже
Комментарии : 23   
@HonestMarketingTips
@HonestMarketingTips Год назад
Oh, somebody used Firefox finally :D Excellent tutorial as always
@CSSWeekly
@CSSWeekly Год назад
Thank you! 🙂 Firefox DevTools are fantastic! 👌
@tonyblack1981
@tonyblack1981 5 месяцев назад
Thank you. Yours is the video that I needed.
@CSSWeekly
@CSSWeekly 5 месяцев назад
You're very welcome, Tony! Thank you for watching and commenting! 🙏
@Reonaru
@Reonaru 11 месяцев назад
A mindblowing experience Sir . . . Thanks a lot !!!
@CSSWeekly
@CSSWeekly 11 месяцев назад
Thank you so much for the kind words, Leonard! I'm thrilled to hear you found it mindblowing! 🙂
@themolitor
@themolitor Год назад
What?! Oh man, this is blowing my mind 🔥
@themolitor
@themolitor Год назад
also, Firefox always all day 😉
@CSSWeekly
@CSSWeekly Год назад
Thank you so much; I'm thrilled to hear you found it mind-blowing! 🙂
@CSSWeekly
@CSSWeekly Год назад
Yes, Firefox needs more love! 🙂
@rumbazumba3189
@rumbazumba3189 Год назад
Amazing video
@CSSWeekly
@CSSWeekly Год назад
Thank you so much! I'm thrilled to hear you think it's amazing! 🙏🙂
@mohamedlabarre166
@mohamedlabarre166 Год назад
great work
@CSSWeekly
@CSSWeekly Год назад
Thank you so much, Mohamed! 🙏
@mohamedlabarre166
@mohamedlabarre166 Год назад
@@CSSWeekly please can you make a video about font variant setting is difficult for me to understand how he work thanks.
@CSSWeekly
@CSSWeekly Год назад
​@@mohamedlabarre166 This is a fantastic idea, Mohamed! I'll make a video about Variable fonts. 🙏 Is there anything else you find difficult to understand about variable fonts?
@mohamedlabarre166
@mohamedlabarre166 Год назад
@@CSSWeekly thanks sir I'm selft taught this point are difficult: carrousel in css without javascript transition page parallax
@CSSWeekly
@CSSWeekly Год назад
Thanks for all your suggestions! 🙏 Take it one step at the time. There’s always more to learn. 🙂
@thedacian123
@thedacian123 Год назад
Hello.I have not understood why svg added with clip path behaves as it were visbility:hidden and ocuppied that empty space on page.Thanks!
@CSSWeekly
@CSSWeekly Год назад
Excellent question, Alex. 🙏 The we created is essentially empty, as it contains only the element, which is meant to be used by the clip-path CSS property. So there's nothing to show, and the browser renders the SVG element when no size is defined at 300x150px. So this is what you see, an empty element taking space. You'll get the same result if you add an empty SVG element on a page (). I hope this clears it up a bit. 🙂
Далее
Create a Stunning Glassmorphism Effect in CSS
16:30
Просмотров 4 тыс.
ЫРКА ПРОГОЛОДАЛСЯ...СТРАШИЛКА
10:37
How to Create Stunning Slanted Containers with CSS
23:00
Thinking Outside the Box with CSS Shapes
8:00
Просмотров 77 тыс.
Using the CSS clip path Property
11:37
Просмотров 37 тыс.
Using CSS custom properties like this is a waste
16:12
Просмотров 155 тыс.
The problems with viewport units
13:23
Просмотров 350 тыс.
CSS gap is NOT a replacement for margins
10:20
Просмотров 36 тыс.
Дени против умной колонки😁
0:40
ОБЗОР Pixel 8a | iPhone от ГУГЛ👀
0:33
Просмотров 18 тыс.