Top 10 CSS Tricks You Didn't Know!

  Рет қаралды 521,663

developedbyed

developedbyed

Күн бұрын

Пікірлер: 592
@RobertoSanchezGoogle
@RobertoSanchezGoogle 5 жыл бұрын
Topics: 1. 1:36 - Pointer-events:all 2. 5:38 - Block vs Inline 3. 11:15 - Margin auto to center 4. 12:21 - Line-height to center text 5. 12:31 - p::selection and p::first-letter 6. 14:08 - Ancla with smoth scroll 7. 15:46 - Invert the colors on the screen 8. 18:18 - Adapt text on risize 9. 19:45 - Doble box-shadow 10. 21:55 - Text Gradient
@jakem9519
@jakem9519 5 жыл бұрын
Roberto Sanchez what do you mean? Like this is stuff to go on a resume?
@danpalu2308
@danpalu2308 5 жыл бұрын
Go away Roberto
@dharmang
@dharmang 5 жыл бұрын
@@jakem9519 learn english first. the word can be used in different contexts.
@jakem9519
@jakem9519 5 жыл бұрын
Dharmang Learn English? The one who posted the comment really had no context to go off of, so if you have nothing constructive to say, fuck off snowflake.
@FordExplorer-rm6ew
@FordExplorer-rm6ew 5 жыл бұрын
Thenkg u
@developedbyed
@developedbyed 5 жыл бұрын
The Creative HTML5 and CSS course is officially launching on December the 4th! Thanks so much for all the wonderful support this year and hopefully next year we can do several other courses including javascript, ui design and more!
@sunnydhama
@sunnydhama 5 жыл бұрын
$20? udemy courses for $5 and skillshare for $10 for a month for 1000s of courses
@SahraClayton
@SahraClayton 5 жыл бұрын
will you make a full javascript course
@nekotrecixxx6019
@nekotrecixxx6019 5 жыл бұрын
20 is not much.... if he is doing this on yt imagine what will u learn for 20$
@developedbyed
@developedbyed 5 жыл бұрын
@@nekotrecixxx6019 12hours of jam packed content! Its going to be great! Thank you!
@jurygregorio974
@jurygregorio974 5 жыл бұрын
Where can i buy it?
@BosskFett88
@BosskFett88 4 жыл бұрын
He makes learning so much fun. Anyone can be an instructor, but not everyone can teach. He teaches by using enthusiasm and a love for the material. Thanks
@sypo_x1891
@sypo_x1891 4 жыл бұрын
true asf .. i really don't understand why all instructors in universitys must be very lazy boring teachers
@ProgrammingWithTSH
@ProgrammingWithTSH 3 жыл бұрын
kzbin.info/www/bejne/i4vKc4eOf8qhmMk
@normaneshuchi5474
@normaneshuchi5474 5 жыл бұрын
I knew all these tricks back when Michael Jackson was still trying to setup his clothing store... Billie Jeans For real though, great video!!!!
@manvsgaming07
@manvsgaming07 5 жыл бұрын
😂😂😂
@MichaStolarskiPL
@MichaStolarskiPL 5 жыл бұрын
They are not even tricks ...
@CicovicDejan
@CicovicDejan 5 жыл бұрын
man i knew this when i was 14...
@yassinezaza7118
@yassinezaza7118 5 жыл бұрын
@@CicovicDejan so you are 14 now
@yassinecherik4096
@yassinecherik4096 4 жыл бұрын
hahahaha
@alexanderschirmer4593
@alexanderschirmer4593 5 жыл бұрын
1:28 "I might smile right now but I am actually in pain" Yeah, same here.
@denns0r
@denns0r 5 жыл бұрын
btw: using display: inline-block (or even inline-flex) will give you the benefits of inline and block... takes only the space thats needed, but takes margin, height and stuff... great vid (as usual 🙂)
@ProgrammingWithTSH
@ProgrammingWithTSH 3 жыл бұрын
kzbin.info/www/bejne/i4vKc4eOf8qhmMk
@SeanClaDesigns
@SeanClaDesigns 5 жыл бұрын
$20 for the course!?!? That is an insane price. I hope everyone picks it up. I know I will. Dev Ed you da best boi!
@danpalu2308
@danpalu2308 5 жыл бұрын
Why, when you can get a 40 hour ("aour" not "haour") course on udemy for $9
@SeanClaDesigns
@SeanClaDesigns 5 жыл бұрын
Dan Palu I took the course. It was great the way he explained everything easily and he is an engaging teacher. I felt I leaned a lot and maybe I could get that from udemy but I was entertained along the way as well. If you need to learn the concepts I suggest getting it
@Anto-xh5vn
@Anto-xh5vn 4 жыл бұрын
@@SeanClaDesigns Different tastes
@Feninou
@Feninou 4 жыл бұрын
The 'I am doing tha weird accent again' just killed me bro ! Self awarness = 1000% lmao
@alimir5350
@alimir5350 3 жыл бұрын
knew most of them already!! seems like I'm good at this thing 😎😎
@lukas.webdev
@lukas.webdev Жыл бұрын
I just posted a new video about the Top 10 CSS Features to know and use in 2023... do you already know most of them as well? 😜
@alimir5350
@alimir5350 Жыл бұрын
@@lukas.webdev nice trick bro!! I'll watch it though!!
@lukas.webdev
@lukas.webdev Жыл бұрын
@@alimir5350 Thanks bro. 😉
@Danilo0717
@Danilo0717 2 жыл бұрын
Ed, do you update the courses you have available for sell? I saw your courses content and I am amazed man. I am buying all
@AmericanCube
@AmericanCube 2 жыл бұрын
"And let's be honest, IE can go to the trash can" 🤣🤣
@Tizmo-tt9ry
@Tizmo-tt9ry 5 жыл бұрын
i knew all of these tricks what you mean i knew this since micheal jackson was chamona
@tarunsharma5364
@tarunsharma5364 4 жыл бұрын
this is the best video i've seen on youtube today.....It really made my day
@santra528
@santra528 4 жыл бұрын
19:40 I fell slightly asleep while watching the video then boom!! I woke up again, Thanks for the CSS tricks,
@PhilSmit
@PhilSmit 5 жыл бұрын
Ed, every one of your videos makes me smile and I get to learn something new in the process. That's the best kind of learning in my book! 👍 Thank you!
@karolinalencina7121
@karolinalencina7121 3 жыл бұрын
You’re too good to be real Ed!
@sebastiaanvv
@sebastiaanvv 5 жыл бұрын
For three months I'm learning to program as a new hobby. So yes, most of the content I did not know ;) I'm so happy that people like you make these enthousiastic video's and tutorials for other people to learn from. Thank you thank you!!! I hope you realise you are bringing a lot of joy and professionalism into the world by doing this.
@koko5498
@koko5498 4 жыл бұрын
The last gradient explanation was the best distinction explanation of inline and block elements
@bilalbeny4172
@bilalbeny4172 Жыл бұрын
Thank you so much for all your videos, I have been enjoying watching them. you have a funny and incredible way for learning!!.😍😍😍🥰
@ApoLk_
@ApoLk_ 3 жыл бұрын
this was the man who taught me to *center a div,* INSTANT subscribe & like & changed my life & will never forget ty ty
@Luuck3Fire
@Luuck3Fire 4 жыл бұрын
Scroll-bar behavior was the most awesome function that u show in my opnion.
@fandreeamihaela
@fandreeamihaela 5 жыл бұрын
You are the best!!! I cannot wait to purchase your course. I always go for free courses but I’m sure that yours will worth every penny, even if I will not learn anything new I’m happy to support you.
@RahulAhire
@RahulAhire 5 жыл бұрын
Edwin can you please make a video on compressing html CSS and JavaScript code to make website's performance more better
@kaunas163
@kaunas163 5 жыл бұрын
you can also use display: inline-block, to have mixed functionality between display: block and display: inline
@ethantaylor8370
@ethantaylor8370 4 жыл бұрын
Man epic vid. Its got a few little tricks I prob should have known but honestly I didn't. Thanks man.
@youssefkossale3680
@youssefkossale3680 5 жыл бұрын
I just watched the whole video without noticing that it's 24min long !!! I enjoy your content so much keep up the hard work !! 💛 from Morocco
@chemedev
@chemedev 5 жыл бұрын
Love the last one, tried it one time but didn't realize I needed to change the display to inline, you're a beast!
@anthonyobata5756
@anthonyobata5756 2 жыл бұрын
Best video I just susribed to your KZbin channel
@molodoymolod
@molodoymolod 5 жыл бұрын
Hello :) What extension do you use in vs code to autoformat your code after you save a file? Thanks
@CodeNascher_
@CodeNascher_ 5 жыл бұрын
most likely 'prettier'
@boristherin4104
@boristherin4104 3 жыл бұрын
started like i will find one or two tricks, but was a good one video, learned much more !
@H1L1CH
@H1L1CH 4 жыл бұрын
Great video! Adapting code on risizing, margin auto to center and adding gradient to the text stroke me! You are a CSS God, brother!
4 жыл бұрын
At 23:36 trick, it would be better use width:fit-content; so the next element inline doesn't put beside the heading. ;) Nice video!!!
@CosminSerbanDesign
@CosminSerbanDesign 5 жыл бұрын
congrats for the 200k - happy to hear you're releasing a course!
@fergusfergus4495
@fergusfergus4495 4 жыл бұрын
Bro your videos and knowledge are so so amazing, thanks u so much for shared it’s with us
@pierrebertin4364
@pierrebertin4364 4 жыл бұрын
There is nothing better than basic things, very nice video !
@UzairAli001
@UzairAli001 3 жыл бұрын
5:00 I usually set visibility to hidden which works as well
@AtifKhan-cm8qv
@AtifKhan-cm8qv 4 жыл бұрын
Thank you Dev Ed you teached me a lot. Thank you so much 😀😀😀
@jonyjalfon94
@jonyjalfon94 4 жыл бұрын
Hey Ed i've been watching your videos for a while and i just realized how the background music makes it way more watchable and less monotone than other tutorial videos. Thank you for the amazing content and keep it up!!
@bblacksmithh
@bblacksmithh 4 жыл бұрын
0:28 “lets take a look at these cool pricks”😂
@bblacksmithh
@bblacksmithh 4 жыл бұрын
@200_Percent_Coma it sounded like pricks🤷🏻‍♂️
@dawidfrankiewicz8994
@dawidfrankiewicz8994 4 жыл бұрын
Trick 1. You can use javascript. First animate with CSS, set timeout to same time that animation takes in javascript and it works. Also just make something that blocks user from activating script multiple times, simple i++ and i-- will work here. Using your trick element is still displayed so it takes space, if you need that space to be empty for other elements i think my trick is better here.
@hk_build
@hk_build 4 жыл бұрын
Hey Dev ed , Are you working as freelancer full time OR work for any pvt company ...what u do basically....? your videos are awesome..!!
@OPGAMER.
@OPGAMER. 5 жыл бұрын
Which theme you have use in this video ?
@Dubstepschule
@Dubstepschule 4 жыл бұрын
So entertaining! You are my favorite code guy!
@MichaelCampbell01
@MichaelCampbell01 4 жыл бұрын
I'll be the one(?) guy that says, I didn't know any of these. I'm new to frontend work. So I enjoyed all of it. Thanks!
@oliverarensbach7025
@oliverarensbach7025 3 жыл бұрын
you saved my life with the first one THANKS!
@vain_za
@vain_za 5 жыл бұрын
13:48 Luckily that *L* wasn't a *D* otherwise we would just sit here in awkward silence.
@keshavapiyushprasad5439
@keshavapiyushprasad5439 4 жыл бұрын
Okayyyy......???
@lordneojacks
@lordneojacks 4 жыл бұрын
The invert and scroll behavior blew my mind
@samvibes8544
@samvibes8544 3 жыл бұрын
I love your trick's as I'm new to web development , Also I'm used to many of your trick's . Thanks for making this cool videos😊
@lukas.webdev
@lukas.webdev Жыл бұрын
maybe my new video about the top 10 CSS features in 2023 is interesting for you as well? 😉
@ahmedayachi5889
@ahmedayachi5889 4 жыл бұрын
nice try with the button fadingout at the beginning but I think that there is a problem with that, if you have a button B under the button A you fade out, B is always can't be clicked why because the A still exists on top of B we can't see it but does exist so w're gonna try to click on the B but nothin happens and that's really bad so we need display none anyways please correct me if I'm mistaken
@abail7010
@abail7010 4 жыл бұрын
I am pretty new to web dev and only did html and css so some Tipps were too advanced for me until now but actually the lorem20 shortcut is awesome 😄
@Demitrodon
@Demitrodon 4 жыл бұрын
What about screen reader? Will it still read button if pointer-events = none?
@SHAJ3304
@SHAJ3304 4 жыл бұрын
You're genuinely a great guy! Thanks so much!
@muradishmurodov5272
@muradishmurodov5272 3 жыл бұрын
Thanks Ed. Great tutorial video!
@alcymn
@alcymn 4 жыл бұрын
awesome content Ed! loving the lofi background music as well:D
@90skid27
@90skid27 4 жыл бұрын
I'am a 90's kid and I find the intro offensive, cause I don't even know CSS - Joking.. Great video!
@gardenaimlessly
@gardenaimlessly 5 жыл бұрын
Your teaching style makes me feel like less of an idiot. :D CSS is my least favorite. I needed all of these tricks. Thanks!
@purplesalad7272
@purplesalad7272 3 жыл бұрын
Helpful tricks
@TheCreative1798
@TheCreative1798 5 жыл бұрын
Can you anybody explain me, why teachers have forbidden sections? I.e if I use div, I'll get penalty mark. They say it because of "new html style of writing" but there's so many new tutorials, where div's are used.
@mysteryguy793
@mysteryguy793 4 жыл бұрын
how do you make the navigation stick and the page as a whole to be mobile friendly?
@estherabella1953
@estherabella1953 5 жыл бұрын
"Internet Explorer can go to the trashcan." OOF
@art3myst962
@art3myst962 4 жыл бұрын
ed can you pls tell which app do you use to write html and css code ls it will be very helpful
@ahnaf135
@ahnaf135 3 жыл бұрын
Awesome video dude. I learned a lot!
@SamFishback
@SamFishback 2 жыл бұрын
Wanted to make a text gradient for a project, thought I would have to import something. Turns out i just had to get youtube algorithm to suggest me your video. Thank you, sensei
@ethans7395
@ethans7395 4 жыл бұрын
Very helpful video, thanks for the tips!
@bidsouravbest
@bidsouravbest 2 жыл бұрын
The last one was awesome, but couldn't we also use width fit-content instead of display inline?
@mirabbos02
@mirabbos02 4 жыл бұрын
Thank you very much for 14:08 this is something which really looking for
@Sysix
@Sysix 3 жыл бұрын
5:10 you can use tab to get focus on it. When the button is an a-tag that could be problematic. Use better visibility:hidden + opacity
@Amar11115
@Amar11115 2 жыл бұрын
I will try to apply them in my small projects
@mohammadfallah.rasoulnejad5379
@mohammadfallah.rasoulnejad5379 5 жыл бұрын
dude, i think i should buy your courses right now! very good explanations.
@RobertWildling
@RobertWildling 5 жыл бұрын
Wow! I actually really thought I'd know them all, but, hell, was I wrong! The "dark mode" effect is awesome! Thanks so much! As for the shadows and VSCode: just hit tab and then 0 directly instead of first deleting all the text hints...
@abgestaubt
@abgestaubt 5 жыл бұрын
I'm psyched about the course!
@RSTao77432
@RSTao77432 5 жыл бұрын
On the text gadient you can just use color:transparent; instead of the webkit-fill-color, also using js library prefix free is very handy & will shorten your code.
@KhaPiano
@KhaPiano 5 жыл бұрын
Really enjoyed the trick with font size and rem.
@sheeraz1022
@sheeraz1022 4 жыл бұрын
This was awesome. Most of the things I didn't knew before. Please keep on sharing similar things.
@MichoSchmidt
@MichoSchmidt 5 жыл бұрын
Great tips Dev ed ! :D What camera do you use?
@danielpmo
@danielpmo 5 жыл бұрын
Awesome. I love your videos. Just watched the other video about view time, entertainment vs education. Just thought I would try to give you a sugestion, but first understand my viewing experience. I was about to not watch everything after having had my mind blown by the pointer-events, than I noticed the dark mode and time advanced to see something else. After that I decided to rewind and watch everything. I think what I might have realized that can serve as a suggestion is if I had been briefed on what to expect from those things it could've helped me to decide to watch it all, or maybe on the transitions you could brief, like "This next one is this and I love because of this and it does that. Let me show it to you.". Good luck, keep fun and keep posting.
@alicenorman5236
@alicenorman5236 4 жыл бұрын
Just bought your HTML/CSS course! So excited to start. Thanks for your hard work! 😄
@developedbyed
@developedbyed 4 жыл бұрын
Hope you enjoy! ❤️
@ProgrammingWithTSH
@ProgrammingWithTSH 3 жыл бұрын
kzbin.info/www/bejne/i4vKc4eOf8qhmMk
@nikhilvarmadandu1589
@nikhilvarmadandu1589 4 жыл бұрын
Happy 500k my gorgeous friend ❤❤
@MirkoTorrisi92
@MirkoTorrisi92 4 жыл бұрын
last tips are absolutely the best ones. MERCI!!!!
@kaduzinhoba
@kaduzinhoba 5 жыл бұрын
So cool tips! thank you sooo much!
@brangja4815
@brangja4815 3 жыл бұрын
Thanks, I learn a lot from this.
@diehldrifts
@diehldrifts 5 жыл бұрын
OMG Ed, why are you so good to us? Recent follower and already loving your content so much :) :) :)
@lucasCulhaci
@lucasCulhaci 5 жыл бұрын
I can't wait to buy this courseeee!!!
@jomoc6112
@jomoc6112 4 жыл бұрын
no lie here i already know everything on this video. just from watching all your videos in 2021 😂 and searching for missing pieces i missed.
@filiph.1409
@filiph.1409 4 жыл бұрын
Just bought your full javascript and html/css course! Keep up the good work! :D And thanks!
@ArianMozafari
@ArianMozafari 5 жыл бұрын
I always had the first issue, thank you so much Ed! (The video playback is not finished yet)
@nubcops220
@nubcops220 5 жыл бұрын
I love how you seem so nervous but you still manage to pull those jokes I love it
@thank_you_from_UA
@thank_you_from_UA 3 жыл бұрын
Thank you for video, and good luck with channel!;)
@Nodsaibot
@Nodsaibot 3 жыл бұрын
better solution for 1 is visibility:hidden
@arunace
@arunace 4 жыл бұрын
Awesome video, thanks for the small small tricks :D :D :D :D
@lilacandwits5127
@lilacandwits5127 3 жыл бұрын
Binge-watching Dev Ed Videos..gives hope for my future :D
@taylortoast2
@taylortoast2 5 жыл бұрын
Waited all day to watch your videos. Just to savor it. Looking forward to Saturdays.
@gountaa
@gountaa 5 жыл бұрын
The tag with "TRAVEl" with all letter capitalized except the last one triggered me so much. The vid was very usefull tho so i guess you'll keep my sub for now. But i'm watching you.
@ob7349
@ob7349 3 жыл бұрын
Thank you, thank you, again thank you👍, and will there be more??)
@nathanalpha1960
@nathanalpha1960 5 жыл бұрын
To complete your first trick, you can replace pointer-events by visibility: visible (when the button is showed) and visibility: hidden (when the button is... hidden !). Then this one will not be clickable at all to when the visibility is hidden. But thanks for the pointer-events trick, I didn't know that ! :D
@lukalortkipanidze7548
@lukalortkipanidze7548 5 жыл бұрын
Much more exciting is programming when Floki from the Viking teaches you it
@alimansourey2076
@alimansourey2076 3 жыл бұрын
I knew a lot of them from 1900 . But the 'cursor event thing' was knew and good one . 😘
@guruprasadn1
@guruprasadn1 3 жыл бұрын
Really ,very helpful to me thanks
@inusahrauf1810
@inusahrauf1810 4 жыл бұрын
Guy, I love your hard work.
@wykrytotrojana
@wykrytotrojana 4 жыл бұрын
Idk why but i enjoy watching your videos :) great job !
Top 10 CSS One Liners That Will Blow Your Mind
13:34
developedbyed
Рет қаралды 993 М.
Top 10 Javascript One Liners YOU MUST KNOW!
14:16
developedbyed
Рет қаралды 197 М.
When you have a very capricious child 😂😘👍
00:16
Like Asiya
Рет қаралды 18 МЛН
Learn Sass In 20 Minutes | Sass Crash Course
19:42
developedbyed
Рет қаралды 947 М.
CSS Tips And Tricks 2 | I Wish Somebody Told Me Before
12:36
Lama Dev
Рет қаралды 51 М.
Using CSS custom properties like this is a waste
16:12
Kevin Powell
Рет қаралды 189 М.
Learn Flexbox In 20 Minutes | Learn HTML & CSS | Flexbox Tutorial
20:21
CSS Tips And Tricks I Wish I Knew Before
12:12
Lama Dev
Рет қаралды 501 М.
Top 10 CSS Features You Should Know & Use in 2024
19:56
Lukas | Web Development & Design
Рет қаралды 316 М.
Are You Making These CSS Height Mistakes?
8:54
Web Dev Simplified
Рет қаралды 141 М.
Award Winning Animation With Only 20 Lines Of CSS?
6:59
Hyperplexed
Рет қаралды 1,9 МЛН
Build A Responsive Website With HTML & CSS Tutorial
40:46
developedbyed
Рет қаралды 825 М.
10 CSS Pro Tips - Code this, NOT that!
9:39
Fireship
Рет қаралды 2,3 МЛН
BIP HOUSE  .бип хаус 🥰🏡  #shorts
0:13
bip_house
Рет қаралды 1,2 МЛН
Когда перепутал график девушек😁🐣
0:24
Alexey Merinov
Рет қаралды 3,1 МЛН
Её автомобиль никто не хотел ремонтировать!
20:12
Гараж Автоэлектрика
Рет қаралды 1,5 МЛН