5 More Must Know CSS Tricks That Almost Nobody Knows

5 More Must Know CSS Tricks That Almost Nobody Knows

Web Dev Simplified

3 года назад

73,092 Просмотров

Ссылки и html тэги не поддерживаются


Комментарии:

Björn Pius
Björn Pius - 17.09.2023 14:33

My mouth literally fell open

Ответить
Waynes Wild World
Waynes Wild World - 05.09.2023 23:12

Does he have a playlist for all these features? Nobody knows videos? Because if he doesn't you definitely should make them. For both CSS and JavaScript

Ответить
Bharath Kesari
Bharath Kesari - 30.06.2023 18:23

Yo boi u doin a gr8 job

Ответить
RGraph,net charts
RGraph,net charts - 22.01.2023 14:11

2 things: scroll-behavior saved me 20-39 lines of JavaScript that I took out of my pages! Note the spelling though English people - no u in behaviour - caught me out! And number 2: The anchor thing with a fixed top bar can also be solved by adding this to your CSS: :target { position: relative; top: -75px;} Don't know which is better though - if indeed one is better than the other.

Ответить
francesco faccia
francesco faccia - 07.01.2023 20:12

Kyle is a bad-ass black-belt 7dan. Period.

Ответить
Rychei
Rychei - 14.12.2022 00:19

ASPECT RATIO... LOVE!!! (91% support as of today too)

Ответить
Lokesh Thakur
Lokesh Thakur - 10.10.2022 16:04

I have used all these CSS Properties many times

Ответить
anas ouardini
anas ouardini - 08.09.2022 09:25

I just hovered on the progress bar then saw this "most replayed". then I was hooked to figuring out why, then I got back to it and replayed it as well.
isn't this a funny feature?

Ответить
Mark Johnson
Mark Johnson - 06.09.2022 13:41

ASPECT RATIO WAS GREAT!!!! ALL OF THESE ARE GOOD FOR RESPONSIVE SITES

Ответить
Paresh B. Patel
Paresh B. Patel - 04.09.2022 14:42

{2022-09-04
}

Ответить
Zakum
Zakum - 03.06.2022 19:23

Awesome tips Kyle!

Ответить
angel
angel - 04.05.2022 10:28

Thank you for this.

Ответить
Gopal Lohar New
Gopal Lohar New - 12.03.2022 14:06

I was Searching for this

Ответить
Tobias Wälde
Tobias Wälde - 24.02.2022 05:38

scroll-padding-top made my day

Ответить
Satheesh Kumar
Satheesh Kumar - 20.02.2022 04:58

🔥

Ответить
Harry F
Harry F - 04.02.2022 21:46

You have a beautiful site and are one of the best content makers on YT when it comes to web dev.

I've been watching the web change since the days of it's early development and it's people that are like-minded to yourself that have made it as wonderful as it is now.

Ответить
Harald Engels
Harald Engels - 29.01.2022 07:59

I am doing CSS since 20+ years and I am still learning some cool tricks from your videos. Thanks a lot! CSS rocks!

Ответить
WanderDutts
WanderDutts - 17.01.2022 13:13

Love the scrolling method so it does not overlay the header, I have had to hack the hell out of it in JS in the past!

Ответить
Wan Pan Man
Wan Pan Man - 28.12.2021 12:13

thanks bro :)

Ответить
Vishal Torne
Vishal Torne - 27.12.2021 09:48

Subscribed.. Great info. Always get to know something useful on your channel

Ответить
Sinc02
Sinc02 - 10.12.2021 16:01

THE SCROLL-PADDING-TOP BLEW MY MIND!!

Usually, I need to place the ID of my navigation content at the element above my navigation content itself. Does not make sense right? IT IS 🤣
So if i have div1 and div2 and I want my anchor tag to go to div2, I would place the ID of div2 in the div1 tag (or at the last element inside of div1). Such a pain to work with :')

Ответить
Victor Villacis
Victor Villacis - 28.11.2021 01:45

smooth scroll is not supported in safari though right?

Ответить
jibar omar
jibar omar - 26.11.2021 13:09

👌

Ответить
alvaro prieto
alvaro prieto - 25.10.2021 10:13

Good video, thanks for sharing

Ответить
Максим Бережний
Максим Бережний - 19.10.2021 10:33

That's amazing!!! Thank you so much and please do some more of such videos!

Ответить
Arthur Breur, Composer for Hire
Arthur Breur, Composer for Hire - 31.08.2021 04:02

Wow. Just... wow.

Ответить
maciejka
maciejka - 14.08.2021 00:16

you should use :root!

Ответить
Bob A Job
Bob A Job - 07.07.2021 15:13

A great video, thank you.

Ответить
Somnath Sardar.
Somnath Sardar. - 29.06.2021 08:49

Thanks man. Really helpful.

Ответить
Musikur
Musikur - 28.06.2021 21:58

I had no idea you could use the variables like you did for transform. For some reason, I had only ever seen references to setting CSS variables in root, it never even occurred to me that you could bind them to classes.

Ответить
XTANCE
XTANCE - 26.06.2021 12:32

What the fuck! Very useful thx!

Ответить
moiz khalid
moiz khalid - 25.06.2021 14:42

scroll-padding-top is amazing.. I come back just to fix this issue. Thanks Kyle

Ответить
Mitri-dvp
Mitri-dvp - 14.06.2021 05:54

I can´t believe the scroll-padding-top property exists, It's so useful!

Ответить
M2K Developments
M2K Developments - 09.06.2021 17:24

Awesome video!

Ответить
Sona Muhialdeen
Sona Muhialdeen - 02.06.2021 20:18

So good tutorial

Ответить
Zahidul Haque
Zahidul Haque - 02.06.2021 05:20

Your amazing 🥰

Ответить
321B Productions (I am still alive)
321B Productions (I am still alive) - 30.05.2021 02:36

Vs code dosent even know these properties see how it’s not blue

Ответить
c__beck
c__beck - 24.05.2021 16:45

CSS Resize 🤯 MIND. BLOWN! 🤯

Ответить
Sebabatso Lethabo
Sebabatso Lethabo - 23.05.2021 04:09

thanks a lot for the last trick

Ответить
uenmedia
uenmedia - 08.05.2021 08:29

No body knows? That must be a joke title. Every developer knows. Only the problem which browsers are supported?

Ответить
Alexander Axe
Alexander Axe - 06.05.2021 14:29

So cool and so useful!!! Thanks Kyle!

Ответить
flightvision
flightvision - 02.05.2021 12:25

I'm so Wow!ing about scroll-padding-top and scroll-behaviour!

Ответить
tmu trmn
tmu trmn - 02.05.2021 10:32

awesome, thanks!

Ответить
Sofian
Sofian - 01.05.2021 00:21

gold <3

Ответить
EmberFlower
EmberFlower - 28.04.2021 02:15

Thank you very much for useful content! Well explained.

Ответить
Al Gonzo
Al Gonzo - 27.04.2021 21:18

Of all your "5 unknown tricks" videos, scroll-padding is the only thing that I was aware of. With that being said, great job as always!

Ответить
Sergio Cabral
Sergio Cabral - 27.04.2021 05:55

The way I've solved this scrolling issue before is by adding a padding-top equals to the sticky nav (or 10 more pixels for breathing room, as you did) and a negative margin-top of the same value. It looks the same because these values cancel each other visually, but the browser finds the element sooner while scrolling... Your solution is way better assuming it's supported across-the-board, the way margin and padding are. Love your videos by the way.

Ответить
Kelvin Victor De Souza
Kelvin Victor De Souza - 27.04.2021 00:32

very good video!! Thank you very much..

Ответить
Paweł Czerski
Paweł Czerski - 25.04.2021 19:47

Whenever you say: "Nothing actually changed" I'm thinking: "Well, my understanding of the topic certainly did!"
Thanks! 🙃🖖

Ответить