One Line Of Code By Master CSS

Поділитися
Вставка
  • Опубліковано 18 вер 2024
  • In this video, with the topic One Line Of Code CSS By Master CSS, I will share with everyone a particularly impressive line of code used in the layout, with the power to surpass grid and flex in CSS. And more specifically, this CSS property is also automatically responsive.
    Full Series CSS Tutorial: • CSS Tutorial
    -----
    Hello everyone, I'm creating a lot of new projects every day and sharing them 😍, including things you'll love to know about javascript and web Developer, Designer. Subscribe to the channel so you don't miss it ✅.
    #javascript #code #css
    -----
    Theme VsCode I'm Using: • Create Your Own VSCode...
    Featured video series
    React Js Tutorial: • React JS
    Design Slider - Carousel web: • Design Slider - Carous...
    E-Commerce Web Coding: • E-Commerce Website Code
    Design Parallax SCrolling Effect: • Reponsive Parallax Scr...
    Web Applycation Code: • Web Application Code
    Javascript Tutorial: • Javascript Tutorial
    CSS Tutorial: • CSS Tutorial
    Many other impressive videos: / @lundeveloper
    Contact With me:
    Instagram: / lundev.web
    Email: hohoang.dev@gmail.com
    Buy me a cup of coffee by clicking the thanks button on any video. Thank you very much for your support 😍.
    Here, I share all my knowledge about Developer and Web Design including languages ​​such as HTML, CSS, SASS, Javascript, Vue, React, Bootstrap, Tailwind along with clean code techniques and UI UX Design.

КОМЕНТАРІ • 391

  • @lundeveloper
    @lundeveloper  9 днів тому +54

    Is the video too short? If you find it interesting, don't forget to like and subscribe to watch interesting videos about programming and web design.

    • @adivsingh9753
      @adivsingh9753 9 днів тому +3

      Bro can you please add something from 3js ... plzzz and animated related content..

    • @anshikatripathi3466
      @anshikatripathi3466 9 днів тому +1

      Your videos are amazing and can you please bring some 3js content as well for animations...

    • @adivsingh9753
      @adivsingh9753 9 днів тому +1

      @@anshikatripathi3466 thanks 4 you correction 🙄.

    • @ikbo
      @ikbo 9 днів тому +1

      @@lundeveloper perfect length. Right to the point with no rambling

    • @LarsLinde
      @LarsLinde 9 днів тому

      column-width:20em;
      Should do the same thing

  • @89marufomio66
    @89marufomio66 9 днів тому +176

    bro is curing my mental health

    • @lundeveloper
      @lundeveloper  9 днів тому +12

      Like a miracle 😍

    • @fabbyvest
      @fabbyvest 7 днів тому +1

      @@lundeveloper Miracle Worker😅😅

  • @1More_Dreamer
    @1More_Dreamer 9 днів тому +137

    Bro is casually improving my skills 😢

  • @regibyte
    @regibyte 3 дні тому +11

    Wow this is impressive! Years of CSS development and I never knew Masonry layout could be done that easily! Mindblown!

    • @jomoc6112
      @jomoc6112 19 годин тому +2

      its new css feature supported only by latest browsers. thats why we did not know this before. the video forgot to said this important information

  • @luzzZq
    @luzzZq 4 дні тому +11

    the funny thing is, that I encountered that type of problem about 2 weeks ago, struggled to somehow fix this and gave up on doing flex + media queries to split it into multiple cols when needed. That's a wonderful thing to know now.

  • @kenthsaya-ang3718
    @kenthsaya-ang3718 6 днів тому +15

    This would be a perfect solution if the order of images, whether vertical or horizontal, does not matter.
    The problem with this solution is when you wanted to order the images horizontally. If you can notice in the flex or grid method, the order of the first three images are horizontally laid. When it comes to the columns method however, the same images becomes ordered vertically.
    I think fixing this issue would involve using javascript to reorder elements/swap rows and columns. But there might be another set of problems for making it responsive lol. I'll think about it next time 😅
    Btw, great video as always!

  • @velocity0212
    @velocity0212 8 днів тому +20

    🤯You are god of css

  • @HaseebAdnan0
    @HaseebAdnan0 8 днів тому +36

    What's crazy is that I was thinking this one was a very recent feature that probably isnt supported in many places.
    However, it's pretty much supported everywhere. I am mind-boggled why this is the first time I came across this.
    Thanks!
    To answer your pinned comment: the video is just the right length with enough information.

  • @mrselcet
    @mrselcet 2 дні тому +5

    Video is not too short.
    The video is exactly perfect time.
    In one line :
    Man, you’re the best!!!

  • @emmanuelodewale
    @emmanuelodewale 20 годин тому +1

    I just love this channel funny enough just few days ago i was just telling a friend that i needed to learn this masonry layout (didn't even know what it was called at the time). I tried Both Flex and Grid but couldn't achieve the layout. I manipulated my way around it but it wasn't efficient. Long story short you've just improved my skill and made me a better developer Big thanks to you.

  • @EricFressange
    @EricFressange 8 днів тому +8

    Nice solution if the order of the cards is not important. thx

  • @mateod700
    @mateod700 9 днів тому +10

    I was thinking about my next projects, and this is what I wanted to do, u are amazing bro!

    • @lundeveloper
      @lundeveloper  9 днів тому +1

      It's great that this video is out there right when you need it ❤

  • @zainuldin9095
    @zainuldin9095 9 днів тому +4

    amazing! i can remember first time when I solve this problem I don't know I used almost 200 lines of ungodly javascript and I love the way it's working cuz we always need to add JS to make remaining space divided equally but not anymore.

  • @luisfelipelino
    @luisfelipelino 17 годин тому

    This is top tier teaching right here. GODAMNNNNN.

  • @thatgeezeruk
    @thatgeezeruk 4 дні тому +2

    Watching this and you're on exactly 100k

  • @pedrogris
    @pedrogris 12 годин тому +1

    The main issue with this is that images are not ordered "correctly"
    Instead of showing the first images at the top of the list it orders them form top to bottom in the first column, and then it shifts to the next one in the next column, meaning the first top images in the following columns will not be the first images on the list, despite that is a cool workaround when order is not crucial, great work!

    • @lucasfranco1758
      @lucasfranco1758 22 хвилини тому

      what would be the easiest way to order them vertically/horizontally?

  • @wolfiling
    @wolfiling 3 дні тому

    5 Minutes. 3 different ways with cons and pros. Wow.
    (Thanks! ❤)

  • @iftekharalammithu5128
    @iftekharalammithu5128 9 днів тому +12

    Every each video made me realize how much there is to learn.

  • @blasefiber8285
    @blasefiber8285 День тому

    Man, you are the best web design yt for real, terrific work, keep it up

  • @SamuelKarani
    @SamuelKarani 3 дні тому +3

    However the proposed masonry layout will be from left to right - columns are up down to the next column. In some cases this matters - in some, like yours, the direction of flow does not matter.

  • @hilaaltoons
    @hilaaltoons 6 годин тому

    I have been looking for this for a long time until I gave and realized it's no way. 😁 I just saw this today by chance. Thanks for the helpful content. ❤❤🎉

  • @guxit
    @guxit 25 хвилин тому

    Generally in masonry layouts, you want the "first" elements in the list nearest the top. This method stacks things sequentially, so the 3rd item from the left might be the 400th item in the list. The stacking can also look "off" if the object sizes vary a lot. It's cool though, I've used it before.

  • @mrnoname9854
    @mrnoname9854 9 днів тому +23

    Please make video on "Mosaic" layout...it to much similarity to "Masonry" but it fill all bottom space... please please please 🥺🥺🥺🥺

  • @azizkira7505
    @azizkira7505 9 днів тому

    I been looking for this for 4 years, thanks

  • @aliabdullah4822
    @aliabdullah4822 8 днів тому

    We need videos like this daily, this is just too awesome.

  • @santiagovalencia6658
    @santiagovalencia6658 23 години тому

    Dude I needed this in work!! Thanks

  • @migionie
    @migionie 3 дні тому

    THANK YOU, big fat THANK YOU!! I'll implement that in future projects!

  • @a.anvarbekov
    @a.anvarbekov 3 дні тому

    congrats on 100k!
    first time watching u
    and i like it!

  • @harshitasharma8099
    @harshitasharma8099 3 дні тому

    Thank you so much for this tutorial. This just pooped up in my YT feed at the right time. 😎

  • @georgikyshenko4380
    @georgikyshenko4380 8 днів тому

    Again, the best channel for CSS tips and tricks in details. A lot of hours long courses don`t teach the little things and you are doing it, so its awesome. You are great!

  • @cleyxds
    @cleyxds 9 днів тому +4

    i always watch your videos laughing, because I know there will be these random sfx 😂😂
    Good content bro 👊

  • @tridibeshnag782
    @tridibeshnag782 7 днів тому +1

    I have subscribed just watching 2 videos that came on my feed randomly. And you have earned it!

  • @david1801
    @david1801 8 днів тому

    And I was just struggling with making Masonry yesterday, you're a genius.

  • @mujibulhaquetanim
    @mujibulhaquetanim 8 днів тому

    Wow! I've tried it with Tailwind CSS, and it completely transformed the vibe of the webpage-thanks, man. I love learning tricks and tips like this; please share more.

  • @teselboom
    @teselboom 4 дні тому

    🤯wow, that’s amazing.

  • @gerardoivanriosgonzalez4612
    @gerardoivanriosgonzalez4612 6 днів тому

    This is huge, I been struggling with this type of layout for months.

  • @lundeveloper
    @lundeveloper  9 днів тому +2

    It's really just one line of CSS code

    • @rawallon
      @rawallon 8 днів тому

      ok but can you do that in minecraft also?

  • @pawelabrams
    @pawelabrams 5 днів тому

    Good exercise would be to code-golf a minimal JS solution to reorder images upon loading more content so that old blocks remain in their old position :D

  • @gabrielkime6597
    @gabrielkime6597 9 днів тому +13

    I would watch your videos more without the ai voice

    •  8 днів тому +3

      He's not a native english speaker. If you saw his old videos you would know. let him be.

    • @gabrielkime6597
      @gabrielkime6597 8 днів тому +3

      That’s completely understandable in that case, but there are a plethora of ai voices to choose from. This one isn’t the only option. It’s quite hard to listen to.

    • @Sundrq
      @Sundrq 2 дні тому +1

      I thought I am the only one! It’s also hard for me to listen to this voice… So harsh and weird lol

    • @தமிழோன்
      @தமிழோன் 11 годин тому

      I don't know why people still complain about AI voice in 2024. He's Vietnamese with extreme CSS skills. If he used his own voice we might not understand his accent and we will never learn from him. It's a brilliant idea that he's using advanced AI voice. AI voices are getting better each year. Just listen to TTS voices on UA-cam just 2 years ago. It was unbearably robotic. This one sounds almost like a human being and it will only get better over time.

    • @Sundrq
      @Sundrq 7 годин тому +1

      ​@@தமிழோன் It is useful ofc, personally I'm not complaining about the usage of it, but rather about the voice itself. My ears don't like it at all. Not that it sounds robotic, but very harsh and... a bit laggy.
      So I hope this particular voice will get better too!

  • @indianlion9652
    @indianlion9652 День тому

    I am super glad i watched this video ❤

  • @GuessWho189
    @GuessWho189 3 дні тому

    i am still watching ur videos cuz they are awesome

  • @DreamPirates
    @DreamPirates 3 дні тому +1

    Thanks, this will help a lot. :)

  • @licokr
    @licokr 3 дні тому

    I subscribe your channel right away. Crazy and easy to understand your explanation 🐐

  • @malavez_jarquin
    @malavez_jarquin 6 днів тому

    excellent, right to the point

  • @albin_joby
    @albin_joby 8 днів тому

    bro helps me keep my sanity while doing webdevelopment

  • @monsieurkeyboard
    @monsieurkeyboard 3 дні тому

    Just subscribed because of the sound fx because I already knew about columns in css.
    Great tutorial tho 👍🏻

  • @தமிழோன்
    @தமிழோன் 11 годин тому

    Awesome video as usual. And, by the way, this AI voice is perfect for the channel and its style. Please keep using it until something better comes up.

  • @shandilya-hu7lq
    @shandilya-hu7lq 8 днів тому

    amazing css property bro

  • @Sinner100
    @Sinner100 6 днів тому

    What a customized environment ✨
    ...
    I love if you share the customization video for VS code brother ❤.

  • @mrvfino
    @mrvfino День тому

    Oh god i'm creating a small website builder app, this is so gonna be helpful for the themes. Thanks 😭

  • @jennifershen4273
    @jennifershen4273 5 днів тому

    JESUS! THANK YOU FOR SHARING!!!

  • @haal4919
    @haal4919 9 днів тому

    I like your new voice! Much nicer to listen to!

  • @vanshchauhan5340
    @vanshchauhan5340 7 днів тому

    100K Soon 🎉🎉

  • @LuckyLootTube
    @LuckyLootTube 7 днів тому

    Amazing know-how, thanks a lot!

  • @AbdulMajid-yr6pv
    @AbdulMajid-yr6pv 2 дні тому

    mind blowing

  • @ukaegbugreatjnr
    @ukaegbugreatjnr 23 години тому

    Wtf bruhhhh😂😂😂
    Am having special headaches rn 😮😮

  • @LordBoltagon
    @LordBoltagon 8 днів тому

    Awesome! Thank you

  • @ImFantin
    @ImFantin 21 годину тому

    Cool tech brother, leaving my sub!

  • @glennwarindu4580
    @glennwarindu4580 9 днів тому

    Thank God I came across your channel,you're a genius

    • @lundeveloper
      @lundeveloper  8 днів тому

      Thank you for watching my content ❤‍🔥

  • @MikeREVANA
    @MikeREVANA 9 днів тому +1

    Amazing ✨ thanks a lot

  • @anthonymaacaron2313
    @anthonymaacaron2313 9 днів тому +1

    Awesome!!

  • @huguenspaul3910
    @huguenspaul3910 8 днів тому

    Good, very good

  • @thrxsm
    @thrxsm 8 днів тому

    thanks, bro. your video is very helpfull to improving my skill

  • @celebritiesedits5513
    @celebritiesedits5513 8 днів тому

    you deserve 100k ❤

  • @Backwo0dz
    @Backwo0dz 4 дні тому

    Congrats on the 100k

  • @adivsingh9753
    @adivsingh9753 9 днів тому +1

    Love ❤️ you brother , you really help by your contact...❤❤❤❤❤

  • @Younex
    @Younex 4 дні тому

    Thank you ❤️‍🔥❤️‍🔥❤️‍🔥❤️‍🔥❤️‍🔥❤️‍🔥

  • @joselife-on4029
    @joselife-on4029 9 днів тому

    You are original and that why the peopple follow you, PD I like the gas/winds. Greetings from Argentina

  • @Sma11pox
    @Sma11pox 4 дні тому

    Astonishing!

  • @jaysolanki6572
    @jaysolanki6572 9 днів тому

    Subscribed right away.

  • @anvan4371
    @anvan4371 9 днів тому +1

    Ghê chời, 10đ vì đã làm video này

  • @minhtrong6036
    @minhtrong6036 4 дні тому

    100k sub rồi, chúc mừng chú 🎉

  • @Nosdiac
    @Nosdiac 5 днів тому

    this is so helpful thank you for this type of Content,

    • @lundeveloper
      @lundeveloper  5 днів тому

      Thanks for watching my content ❤️

  • @jern2216
    @jern2216 8 днів тому

    bruh, why you have so low sub count? you are one of the best people on youtube when it comes to frontend

  • @yosayaan7013
    @yosayaan7013 6 днів тому +1

    Thats awesome :D

  • @newdocument4505
    @newdocument4505 6 днів тому

    wow man ur vids will make me a pro

  • @pixinia3447
    @pixinia3447 8 днів тому

    this is my birthday gift!

  • @m12652
    @m12652 8 днів тому

    Less than 2000 til you hit 100,000 subscribers.... good luck, very well deserved 👍

  • @kitamashi
    @kitamashi 9 днів тому

    bro WHAT i overcomplicated this SO MUCH in comparison, thank you for sharing! I watch your channel since the beginning and I am so glad that you are consistent with the quality. Also, thanks for changing the AI voice! I didn't like the old jimmy alike voice, even more since all that stuff about him went public. Cheers!

  • @thunderx7778
    @thunderx7778 8 днів тому

    you proof that why i am subscribed to you ❤‍🔥 Damm

    • @lundeveloper
      @lundeveloper  8 днів тому

      Thank you so much brother, ❤‍🔥 ❤‍🔥 ❤‍🔥 ❤‍🔥

  • @cinephilia1252
    @cinephilia1252 5 днів тому

    Sensei... We need more...

  • @ellyeroms-qy1ym
    @ellyeroms-qy1ym 6 днів тому

    Extreme wow😊😊

  • @joyfulanimations2006
    @joyfulanimations2006 7 днів тому

    Lifesaver ❤

  • @ytshortsvideo247
    @ytshortsvideo247 2 дні тому

    best , bro thanks

  • @moisesromero9263
    @moisesromero9263 9 днів тому +1

    Master god job

  • @Free_guyyy
    @Free_guyyy 7 днів тому

    you are the best!!!

  • @khouchanemahmoud9475
    @khouchanemahmoud9475 9 днів тому

    Thanks dud i always wonder how this works and finaly i get to see it with simple code 😊

  • @Buster475
    @Buster475 8 днів тому

    You are CSS god

  • @fallninfo8671
    @fallninfo8671 6 днів тому

    VERY MUCH THANK YOU BRUUHHHHHHH !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!

  • @JeffKlunder
    @JeffKlunder 3 дні тому

    Nice one!

  • @dhairyavora3201
    @dhairyavora3201 9 днів тому +1

    ❤❤
    Gained new subscriber broo

  • @zarkive43
    @zarkive43 7 днів тому

    I was searching this . Thank you

  • @nickyrakotoarimanana6219
    @nickyrakotoarimanana6219 9 днів тому

    Thank you !

  • @DANNFIGDESIGNS
    @DANNFIGDESIGNS 7 днів тому

    WONDERFUL!

  • @qartveli.generali
    @qartveli.generali 5 днів тому

    love you bro you are the best of the best

  • @abdullahshamoon1081
    @abdullahshamoon1081 9 днів тому

    Amazing bro...

  • @bikeliciousgourav
    @bikeliciousgourav 7 днів тому

    Thank you 😊

  • @2difficult2do
    @2difficult2do 8 днів тому

    You are always show coll and useful css tricks. Thank you. Wish you more subscribers!

  • @Hotsweat279
    @Hotsweat279 6 днів тому

    Thank God i found this channel

    • @lundeveloper
      @lundeveloper  6 днів тому

      Thanks for watching my content 😍

  • @zalkadridani
    @zalkadridani 8 днів тому

    You are the best