These CSS PRO Tips & Tricks Will Blow Your Mind!

Sdílet
Vložit
  • čas přidán 23. 08. 2024
  • 10 MINDBLOWING CSS Tips and Tricks that solve typical JavaScript problems with CSS ONLY. You will learn elegant solutions for everyday css problems and productive shorthands for responsive web design, How to implement modern design trends such as glassmorphism or new morphism smooth scroll snapping in swiper, how to use the :checked pseudo-class to create eventListener in CSS only. How to fix a common :focus pseudo-class problem to create a dropdown menu in css without the need of javascript. And much much more.
    BEGINNERS START HERE:
    👌 Learn HTML & CSS in 7 Days
    www.udemy.com/...
    Checkout our website for more:
    👉 www.coding2go.com
    Host Your Own Website With Hostinger:
    👉 www.hostinger....
    ✌️ And get a huge discount with our code: CODING2GO
    #cssonly #csstricks #webdevelopment
    RELATED CONCEPTS YOU SHOULD LEARN:
    How to code a Navbar: • Create a RESPONSIVE NA...
    CSS Flexbox: • CSS Flexbox Tutorial f...
    JavaScript: • How to learn JavaScrip...
    Todo App Project: • Build & Deploy a TODO ...
    SOURCES:
    developer.mozi...
    developer.mozi...
    developer.mozi...
    developer.mozi...
    developer.mozi...
    developer.mozi...
    developer.mozi...
    developer.mozi...
    developer.mozi...
    developer.mozi...
    MUSIC & LICENCE
    Track: "Little Things"
    Music provided by Slip.stream
    Free Download/Stream: get.slip.strea...
    Track: "Scared Of The Glizzy"
    Music provided by Slip.stream
    Free Download/Stream: get.slip.strea...
    Track: "Take Off", NEFFEX
    Music provided by Slip.stream
    Free Download/Stream: get.slip.strea...
    Listen on Spotify: go-stream.link...
    Track: "Tropical Nights", Nico Sainato Tracks
    Music provided by Slip.stream
    Free Download/Stream: get.slip.strea...
    Listen on Spotify: go-stream.link...
    CONCEPTS YOU WILL LEARN:
    ✔ HTML, CSS ONLY
    ✔ CSS Solution without JavaScript
    ✔ Responsive Web Design
    ✔ Smooth Scrolling in Swiper (scroll snapping)
    ✔ Modern UI Design Trends such as Glassmorphisn and New Morphism
    ✔ CSS Shortcuts and effective code solutions
    ✔ How do checkboxes and labels work (:checked pseudo-class)
    ✔ How does the :focus pseudo-class work in css
    ✔ How does the :focus-within pseudo-class work in css
    ✔ How to create a dropdown menu in css only without javascript
    ✔ How to use min() max() and clamp() functions
    ✔ How to resize elements in css
    I hope you learned something new ;)

Komentáře • 246

  • @coding2go
    @coding2go  Před 3 měsíci +102

    Hope you guys learned something new. Feel free to share your own css tricks in the comments for others to see 😎
    Edit: I uploaded the source code for the tips on my website if you guys wanna check it out: www.coding2go.com

    • @MAALTECH
      @MAALTECH Před měsícem +2

      Subscribed immediately

    • @meew7571
      @meew7571 Před měsícem +1

      Bro god will blessed you for this tutorial. you just shared some cool tricks and explain it perfectly. hope you will share more tricks with great explanation like this.

    • @DrClappinCh33ks
      @DrClappinCh33ks Před měsícem

      Very good video just subscribed. Please keep the vids coming

    • @ashwinbarnwal1281
      @ashwinbarnwal1281 Před měsícem

      One trick I knew so far : to follow css-tricks.com

    • @haginss
      @haginss Před 24 dny

      Very simple tutorial. Great content bro.

  • @sandarushashinda6912
    @sandarushashinda6912 Před měsícem +487

    bro got straight in to the point, didn't waste a single sec of my life, worth it

  • @dedse3
    @dedse3 Před 27 dny +71

    I just got bombarded with information, not a single second to think about anything else rather than the CSS tips, just perfect!

  • @militarykaliber-rp7ss
    @militarykaliber-rp7ss Před měsícem +35

    I love how straight to the point you are, no lengthy intro no bullshit, i just love it , you got a new sub

  • @lonesakib01
    @lonesakib01 Před 21 dnem +25

    Bro is the GOAT of CSS 💀

  • @madhavanair3744
    @madhavanair3744 Před 3 měsíci +42

    That glass effect was super awesome 🥶

  • @darknezx9542
    @darknezx9542 Před měsícem +42

    Incredible content, no BS, just tip after tip

  • @manfromexistence
    @manfromexistence Před měsícem +34

    Bro, I watched so many CSS tricks but this trick you gave is so awesome. Thanks bro, I didn't realize until now that ':not' and ':has' CSS new selectors can be so useful and CSS scroll trick is also so awesome too. Thanks a lot!!!

  • @ski257
    @ski257 Před 18 dny +10

    it's not "new morphism", it's called "neomorphism"

    • @pixl_xip
      @pixl_xip Před 10 dny

      I have heard neomorphism and neumorphism

    • @ski257
      @ski257 Před 10 dny +3

      @@pixl_xip I believe both are the same said different, not sure though

  • @RobertWildling
    @RobertWildling Před měsícem +4

    Love the scroll-snap! Thank you vey much! Also the straight-to-the-point character of your tutes is highly appreciated! Subscribed!

    • @coding2go
      @coding2go  Před měsícem

      Thank you! I appreciate the kind words. Welcome to the channel 👋

  • @Htbaa
    @Htbaa Před měsícem +8

    For accessibility concerns please don't misuse a checkbox for that purpose. Other than that some awesome tricks in here, especially the snapping slider.

    • @Semmelein
      @Semmelein Před 21 dnem

      Why not? In what way is this a problem with accessibility?

    • @Htbaa
      @Htbaa Před 21 dnem +3

      @@Semmelein because a checkbox alone tells nothing about the state of a menu. Just even try operating this example in a blind test with a screen reader.

  • @bakasenpaidesu
    @bakasenpaidesu Před měsícem +11

    Do you have CSS beginner to advanced course? If no then you should definitely make one I will surely buy it.

    • @coding2go
      @coding2go  Před měsícem +10

      We are currently working on a CSS course. The plan is to publish the course next month. We will let you know when the course is available.

    • @bakasenpaidesu
      @bakasenpaidesu Před měsícem +1

      @@coding2go ok, roger sensei !!!

    • @Think-Harder-Duh
      @Think-Harder-Duh Před 18 dny +1

      Interested!

  • @emilhozan71
    @emilhozan71 Před 24 dny +3

    I'm big into JS-less sites and this video was fantastic. Such innovative design concepts - not to mention artistic and highly appealing.
    Earned a sub from me!

  • @Digital_1mpulse
    @Digital_1mpulse Před měsícem +3

    That background-filter is awesome. Always wondered how that worked. Clamp is a nice to know as well! Learned something new. Appreciate the video!

  • @wlockuz4467
    @wlockuz4467 Před 2 dny

    The scroll-snap blew my mind! Instant sub.

  • @tiendatniit
    @tiendatniit Před měsícem +2

    Your video is really awesome! Eight years ago, I was completely focused on backend development. Only now am I realizing how much CSS has changed. It's crazy!

  • @rongitmukherjee
    @rongitmukherjee Před měsícem +4

    That was no bullshit straight to the point, informative, clean and helpful. New subscriber here.

    • @coding2go
      @coding2go  Před měsícem

      Thanks, glad you like it! Welcome to the channel ✌️

  • @nitrousdx5754
    @nitrousdx5754 Před 2 dny

    That card snapping is a game changer for me! Good thing I stumbled upon on this channel. You earned a sub!

  • @yeetskeet691
    @yeetskeet691 Před 25 dny +1

    I absolutely love CSS, I’ve used the label trick before for dropdown messages. CSS is amazing

  • @SebastianPerezDev
    @SebastianPerezDev Před měsícem +6

    Gradient trick for text is awesome, dude, thank you

  • @TrendingShorts-5G
    @TrendingShorts-5G Před měsícem +5

    please make more video on css and one thing you do different is first you visualize the problem and then provide solution this is really amazing and helpful for beginners

  • @SUNNY-BB
    @SUNNY-BB Před 13 dny +1

    This Dude is the G O A T of CSS

  • @ArmadilloFactory
    @ArmadilloFactory Před 25 dny +1

    Finally found a decent view on CSS. 🎉

  • @Moamal-Alaa
    @Moamal-Alaa Před měsícem +2

    Great video bro, Just one thing you haven't mentioned in the video, If you rely on checkbox inputs to toggle the menu you have to make sure it won't ruin the accessibility, and as you mentioned users won't notice but the browsers, so becareful when you use checkboxes for other purposes.

  • @gautam_nath
    @gautam_nath Před 14 dny

    Being a UI developer for 5 years, I swear I learnt a lot new things today

  • @martinharyanto4465
    @martinharyanto4465 Před dnem

    Auto subscribe. Very clean and detail explanation. Straight forward and showing examples directly. ❤

  • @mrcash1309
    @mrcash1309 Před 8 dny

    Im doing web development since 5 years now. Where have you been all that time? Amazing content, subscribed!

  • @Baccardi151
    @Baccardi151 Před měsícem +8

    Learned alot, & you didn't waste any time, much appreciated

  • @EmperorInfern0
    @EmperorInfern0 Před 15 dny

    Oh my god. I bookmarked this just to refer to it again and again. Buddy, THANK YOU!!!

  • @techpukhraj
    @techpukhraj Před 18 dny +4

    {alert("Great")}

  • @coel312
    @coel312 Před 22 dny +1

    This is a great video! Just a question, are most of these features supported by most modern browsers? They seem kind of new

  • @rahul360_
    @rahul360_ Před 26 dny +1

    Bro I really want to more videos like this...
    It's really helpful me❤

  • @letmewatch.
    @letmewatch. Před měsícem

    More like these! Absolute learnt a ton. An 8 minute video I spent over an hour watching trying everything out. I absolutely am stunned!

  • @darigames2859
    @darigames2859 Před měsícem

    This is genuinely one of the best tips and tricks videos I’ve seen

  • @gareth2021
    @gareth2021 Před dnem

    Great Video, learned something new and rest is definitely helpful and I would have needed sometime ago :). Btw Like the „straight to the Point“ Style

  • @MiHawk-jn9oq
    @MiHawk-jn9oq Před 25 dny

    i love how you teach us the slide with snap. can you also upload a video how can you make a carousel type. for example, we have 5 slides, and after scolling the 5th slide, the one will popup is the 1st slide again.

    • @coding2go
      @coding2go  Před 24 dny

      Sure, I will make a video on that, though it needs some time until it comes out.

  • @JoystickStereo
    @JoystickStereo Před 29 dny

    I didn't know about scroll snapping-that's dope. That new morphism one is cool too

  • @garryalfonso1609
    @garryalfonso1609 Před 20 dny

    Love it! The CZcams Algorithm should recommend you. I gave you a thumbs up 👍.

  • @PhucTran-zj5is
    @PhucTran-zj5is Před měsícem +2

    U gimme almost trick I don't know and still find it till I watched this video. Thanks
    ❤❤❤

  • @jeloi9364
    @jeloi9364 Před 9 dny

    amazing tips! clear and concise explanation. Great job! :)

  • @shfunky
    @shfunky Před měsícem +3

    Nice one! First time seeing many of these.

  • @SancLunatic
    @SancLunatic Před 3 dny

    In addition to the dark mode trick, the media query for prefers-color-scheme i think works 100% on all the latest versions of browsers.

  • @bas9534
    @bas9534 Před 12 dny

    thx for the tip, now time to give this lesson a try on real code.
    ps. like the way you straight in to the point ❤

  • @user-hw9cs6te5y
    @user-hw9cs6te5y Před 25 dny

    This is the perfect video!! Thank you very much, I learned a lot of new, interesting and useful things in just 8 minutes. Keep up the good work!

  • @devilrjn1587
    @devilrjn1587 Před měsícem

    Thanks brother. I am coding from years but didn't know these features exist.

  • @zainaltaf5460
    @zainaltaf5460 Před 16 dny

    great tips, straight in to the point

  • @yashkhawale
    @yashkhawale Před 3 měsíci +2

    Really helpful video. Like your simple way of teaching.
    Could you please create a multi page website building video using html, CSS and js?

  • @mrjohncrumpton
    @mrjohncrumpton Před 15 dny

    Excellent. The missing space after the class name and open squirely brackets is getting to me!

  • @OpinionatedAnon
    @OpinionatedAnon Před 10 dny

    I began coding when I was 17. I took a hiatus and now the game has completely changed. Wow.

  • @naweendanushka3358
    @naweendanushka3358 Před měsícem +1

    Great video, I have only known about :hover pseudo class

  • @MattBramer
    @MattBramer Před 15 dny

    🔥. Thank you for this! Feeling inspired!!

  • @cwm161
    @cwm161 Před 3 měsíci +3

    These are very helpful thanks for sharing ❤

  • @DevenSitapara
    @DevenSitapara Před měsícem

    Loss of devs appreciate this kind of teaching approach

  • @fant0m858
    @fant0m858 Před 6 dny

    your css is mindblowing. thks

  • @redakker
    @redakker Před 22 dny

    Thank you so much! Explanation and presentation are awesome! Keep going in this way

  • @AA100HP
    @AA100HP Před měsícem

    Love these simple yet so useful videos! Keep up the good work! 🎉

  • @pawanbhatt9329
    @pawanbhatt9329 Před 20 dny

    No time waste to the point always love it ❤

  • @bhimmagar9810
    @bhimmagar9810 Před 14 dny

    I never knew people can be so creative with css. Haha

  • @brandonelzy4196
    @brandonelzy4196 Před 16 dny

    This is awesome, nice job!

  • @Belladonna_khaday
    @Belladonna_khaday Před 22 dny

    Bro Thank you so much❤❤. This video is incredible and it worth to watch. You earned one more subscriber.

  • @NaveenBandari
    @NaveenBandari Před 3 dny

    Wow, it's grt information for us, thanks for the video

  • @1230124
    @1230124 Před měsícem

    you make it very simple and clear~! thanks a lot!!

  • @denhamk
    @denhamk Před měsícem

    Wow. That text gradient trick was 🔥!! Next can you show me how you blur the background when I hover over my megamenu 🤪 (like apple’s website?) 😉

  • @MafuyuChan39
    @MafuyuChan39 Před 22 dny

    Awesome 👍, I will to try that. Thank you, dude.

  • @DariánCapoteQuintana
    @DariánCapoteQuintana Před 19 dny

    Thanks for these great CSS tips.

  • @TheWellington1997
    @TheWellington1997 Před 26 dny

    Amazing video, straight to the point, won a subscriber

  • @user-iv9bd6yk2h
    @user-iv9bd6yk2h Před 9 dny +1

    wowwwwwwwwwwwwwwwwwwwwwwww! bro your are not human you are alien

  • @Mustavii
    @Mustavii Před 22 dny

    many many thanks to share this 😊

  • @halynakyryliuk8484
    @halynakyryliuk8484 Před 26 dny

    Amazing! Si much interesting tricks! Bravo!!!

  • @erick-developer
    @erick-developer Před 26 dny

    Thanks men, you are the goat

  • @havefun5519
    @havefun5519 Před 27 dny

    some new CSS features are great

  • @kallymashigo6532
    @kallymashigo6532 Před 3 měsíci +3

    🎉🎉😮 am speechless

  • @hw-moviespoint3109
    @hw-moviespoint3109 Před měsícem

    Great.❤
    Make video on sticky thead or give alternative way to sticky.
    Position sticky don't apply if parents are using overflow.

  • @mehranhosseinzadeh9060

    Awesome and usefull tips. Thanks for the great content.

  • @felixurbano1199
    @felixurbano1199 Před měsícem +1

    Great video! Thanks for share

  • @heartlessalien8761
    @heartlessalien8761 Před 2 dny

    Hey I love the slider is there anyway to make it behave like mobile where you drag and drop all the time and not just when u go into mobile view?

  • @yuriyzadorozhnyi3849
    @yuriyzadorozhnyi3849 Před 13 dny

    Привіт з України! Щиро дякую Вам! Really well done. I gained a few things from here. Thank you.

  • @Mr.Hitman.47
    @Mr.Hitman.47 Před měsícem

    Thank you, today I learned something new 🥂

  • @shreyashamrutkar3225
    @shreyashamrutkar3225 Před měsícem

    Best video. Thanks for sharing this useful content.

  • @SandroWalach
    @SandroWalach Před 20 dny

    Is there a way to make the draggable part of the Resize change which corner it is on, and thus change which direction you want to resize toward?

  • @blindsidedgames
    @blindsidedgames Před měsícem

    What an absolutely fantastic video thank you

  • @theoldgamer3643
    @theoldgamer3643 Před 17 dny

    4:02, 4:36, 5:36, 6:49 before thingy, overflow,

  • @JakubSK
    @JakubSK Před měsícem

    I knew all those tips, up to the last.

  • @Mustavii
    @Mustavii Před 22 dny

    really this is so much crazy fitures 💖

  • @rebane2001
    @rebane2001 Před 2 dny

    instead of a checkbox it often makes sense to use details/summary

  • @fatihece3359
    @fatihece3359 Před měsícem

    Many many thanks sir, great tips and content.

  • @devascript
    @devascript Před měsícem

    Thanks today I learn something new brother ❤🎉

  • @orihisa
    @orihisa Před 28 dny

    awesome tips! thanks!

  • @alirezamousavi3583
    @alirezamousavi3583 Před měsícem

    It was amazing... Thank you so much man

  • @cackscrew
    @cackscrew Před měsícem

    Nice vid, actually didn’t know most of these

  • @savilar369
    @savilar369 Před 12 dny

    this video blew my mind, can i do this in sass too?

  • @___rv
    @___rv Před 12 dny

    Ok the snap thing is really new to me :O

  • @IcetipsVideos
    @IcetipsVideos Před 26 dny

    Beautiful!!!

  • @josetovarrodriguez3525
    @josetovarrodriguez3525 Před měsícem

    That was cool tricks, thanks dude blessings for you

  • @user-it4pg5ox1q
    @user-it4pg5ox1q Před 12 dny

    Was amazing 🤩

  • @stephenmatthew7869
    @stephenmatthew7869 Před 26 dny

    Dude .. this epic this
    Take my sub👊

  • @blackmmo3602
    @blackmmo3602 Před měsícem +1

    More Videos Like this please

  • @Trendi_Vibes
    @Trendi_Vibes Před měsícem

    Your content ✨️, that's why I subscribed to you 🎉,how many years taken to learn those techniques 😅

  •  Před 16 dny

    Good content, thanks.

  • @leoyunanda
    @leoyunanda Před měsícem

    Very helpful, thank you bro 😍