A better image reset for your CSS

แชร์
ฝัง
  • เผยแพร่เมื่อ 9 มิ.ย. 2024
  • One of the most common resets in CSS is to set a max-width: 100% and a display: block on our images. In this video, I look at why it might also be a good idea to declare background-size, font-style, and shape-margin, among other things.
    🔗 Links
    ✅ Harry Roberts post on Twitter: / 1717841334462005661
    ✅ Harry's article on low-quality image placeholders: csswizardry.com/2023/09/the-u...
    ✅ More on shape-margin and shape-outside: • Wrap text around any i...
    ⌚ Timestamps
    00:00 - Introduction
    00:50 - max-width
    01:50 - vertical-align: middle
    03:50 - height: auto
    04:20 - font-style: italic
    05:35 - background-size and background-repeat
    09:29 - shape-margin
    #css
    --
    Come hang out with other dev's in my Discord Community
    💬 / discord
    Keep up to date with everything I'm up to
    ✉ www.kevinpowell.co/newsletter
    Come hang out with me live every Monday on Twitch!
    📺 / kevinpowellcss
    ---
    Help support my channel
    👨‍🎓 Get a course: www.kevinpowell.co/courses
    👕 Buy a shirt: teespring.com/stores/making-t...
    💖 Support me on Patreon: / kevinpowell
    ---
    My editor: VS Code - code.visualstudio.com/
    ---
    I'm on some other places on the internet too!
    If you'd like a behind the scenes and previews of what's coming up on my TH-cam channel, make sure to follow me on Instagram and Twitter.
    Twitter: / kevinjpowell
    Codepen: codepen.io/kevinpowell/
    Github: github.com/kevin-powell
    ---
    And whatever you do, don't forget to keep on making your corner of the internet just a little bit more awesome!

ความคิดเห็น • 166

  • @WarrenGroom
    @WarrenGroom 7 หลายเดือนก่อน +187

    After many years of following, watching, and taking your courses, I've just this second realised that you open your videos with "Hello my front end friends", not "Hello my friend and friends", that I thought that I'd heard dozens and dozens of times, lol. Just LOVE your videos, the most value I get from TH-cam, by a huge margin ❤️

    • @CrispyCircuits
      @CrispyCircuits 7 หลายเดือนก่อน +7

      I thought the same thing! Been watching for a long time.

    • @dom8429
      @dom8429 7 หลายเดือนก่อน +6

      WHAT thats crazy I never noticed but it makes so much sense now

    • @TechnicJelle
      @TechnicJelle 7 หลายเดือนก่อน +6

      Wait what!?
      I thought that too!

    • @RayAndrewsDev
      @RayAndrewsDev 7 หลายเดือนก่อน +1

      Only realized that a few months ago myself :)

    • @CarlosHernandez101400
      @CarlosHernandez101400 7 หลายเดือนก่อน +3

      Well, crap 😂😂. I never understood why he says hello to just one friend first. It turns out I need my hearing checked. 😂😂

  • @JosephCodette
    @JosephCodette 7 หลายเดือนก่อน +36

    Good stuff ! You can also style the alt attribute img[alt] if needed ! I used it for small thumbnails where I wanted an overflow of none when the alt is displayed 😊

  • @kaustavroy6542
    @kaustavroy6542 7 หลายเดือนก่อน

    This is what a high quality video is all about . Learning new stuff on every video. I didn't even know about the shape margins thing , checking that out next.
    Thanks Kevin ❤

  • @Locklesh
    @Locklesh 6 หลายเดือนก่อน

    Fantastic content. I love watching your videos. I learn something new pretty much everytime I watch one. You're a great teacher!

  • @zarkasias
    @zarkasias 7 หลายเดือนก่อน +3

    This is great!! The explanation shows how this reset can really help improve performance.

  • @chainedbeauty
    @chainedbeauty 7 หลายเดือนก่อน

    I saw the video and immediately implemented it in a project. Thanks for sharing as always! ❤

  • @osaid56
    @osaid56 5 หลายเดือนก่อน

    maaaaan this is veeeeeeeeery nice video, it made me think again about my understanding of this stuff, very beneficial, thanks a lot man.

  • @HuynhLuong227
    @HuynhLuong227 7 หลายเดือนก่อน

    great tricks, really thanks Kevin, love your content.

  • @RakeshSingh-vl2mz
    @RakeshSingh-vl2mz 6 หลายเดือนก่อน

    So much informative
    I am hell impressed by your knowledge thank you sir❤

  • @pibbz13
    @pibbz13 7 หลายเดือนก่อน

    Thank you! This is so useful :D

  • @D7460N
    @D7460N 7 หลายเดือนก่อน +1

    Perfect timing, sir.

  • @programingwithali2461
    @programingwithali2461 7 หลายเดือนก่อน +1

    Thanks for this content

  • @hovhadovah
    @hovhadovah 7 หลายเดือนก่อน +35

    I don't think vertical-align: middle is a one-to-one replacement for display: block, but correct me if I'm mistaken. Per my understanding, display: block removes the line height from the image entirely (since block-level elements can't have a line height), while vertical-align keeps the line height but moves the image down vertically so it no longer seems like it has uneven spacing. Technically the image still has extraneous spacing, but now above and below as opposed to just below.

    • @xphstos_
      @xphstos_ 7 หลายเดือนก่อน +4

      You're kinda right.
      If you use imagery in your site just for decoration. Then yes.. display block seems more reasonable reset but if we're talking about a blog site were most of the images live inside article's body then it's best to add display block when needed and keep vertical align middle for the rest.
      Although vertical align does behave like display block. There is no excess space on top or bottom if you use it. So why don't we use that as a default reset!?
      As a personal rule I try to avoid turning block elements to inline and vice versa.
      It feels like I'm using div with display: inline... it doesn't affect anything perfomance wise or semantically but it feels wrong!

    • @hovhadovah
      @hovhadovah 7 หลายเดือนก่อน +2

      @@xphstos_ Hmm, I just tested in a jsfiddle and vertical-align: middle does appear to work the same way. I wonder _why_ this works, though. Does line height behave differently for images?

    • @nikolaypanayotov6941
      @nikolaypanayotov6941 7 หลายเดือนก่อน +2

      Vertical align top should remove it completely. Some other elements have this as well, for example

  • @spatialoptic
    @spatialoptic 6 หลายเดือนก่อน

    Using this and it is great!

  • @wardxela
    @wardxela 6 หลายเดือนก่อน +2

    Dealing with high quality images is not uncommon nowadays. Low-res technique is something! I really appreciate you for sharing this kind of things with us.

    • @mrgamerzyt3945
      @mrgamerzyt3945 4 หลายเดือนก่อน

      Yea, this technique will really be helpful. I personally have tried to do it before but failed 😭

  • @okelecomedyhouse6994
    @okelecomedyhouse6994 7 หลายเดือนก่อน +5

    You have been a very big influence in my life and I really appreciate you for that and I would really like to know the courses u have done so far so I can follow my mentor and his foot steps to learn the same courses as you

  • @AndrewSmithDev
    @AndrewSmithDev 7 หลายเดือนก่อน +1

    I like the background image hack!

  • @xphstos_
    @xphstos_ 7 หลายเดือนก่อน +1

    Thank you!! I've been screaming my lungs out every time I was seeing display block on images! Vertical align is the way to go!

  • @Pompiduskus
    @Pompiduskus 7 หลายเดือนก่อน

    this is awesome !!!

  • @MasterHobbitLoL
    @MasterHobbitLoL 7 หลายเดือนก่อน

    Great video

  • @valmirvirtuoso3796
    @valmirvirtuoso3796 7 หลายเดือนก่อน +1

    Your channel is very good Kevin, congratulations, i'am from Brazil, and I discovered your channel a short time ago, but with TH-cam's automatic subtitles I've been getting by, good job! Can you make some content about animations? Or someone who recommends something from your channel that you've already done.

  • @serychristianrenaud
    @serychristianrenaud 7 หลายเดือนก่อน

    Thankd 👍

  • @houston61452
    @houston61452 6 หลายเดือนก่อน +1

    Excellent video, as always!
    I noticed a major drawback with the low-res background image, in the case of a .png with transparency, we'll see blurred pixels from the low-res image behind the edges of the source image.

  • @lewisone
    @lewisone 6 หลายเดือนก่อน

    The low-res image part is a very interesting concept that I am for sure going to use from now on, especially since I have experienced slow internet in public places and see how important if can be. Very cool insights.

    • @eduardoalvarez4457
      @eduardoalvarez4457 3 หลายเดือนก่อน +1

      maybe it can be combined with CSS filter blur to remove the ugly compression. (note that the filter needs to be done by the browser not be applied to the low res image directly because blurring the image adds more colors, meaning the low res will have a big file size, defeating its purpose)

  • @mk72v2oq
    @mk72v2oq 7 หลายเดือนก่อน +14

    Regarding of lowres version images: progressive jpeg exist. It loads in low quality first and gradually improves during loading.
    This is a very old feature and supported by all browsers. That's it, simply encode your jpegs as progressive and no extra html/css manipulations needed.

    • @r-i-ch
      @r-i-ch 7 หลายเดือนก่อน

      How to? Do you need multiple jpgs?

    • @mk72v2oq
      @mk72v2oq 7 หลายเดือนก่อน +1

      @@r-i-ch advanced image viewers/editors simply have "progressive" option when saving jpeg. That's all, the image will be encoded in progressive mode, no extra manipulations required.

    • @KevinPowell
      @KevinPowell  7 หลายเดือนก่อน

      I know, and you can even see that working here, but it still starts with the lowres one first, and then you can see the quality improving over that image as the better image loads in.

    • @mk72v2oq
      @mk72v2oq 7 หลายเดือนก่อน +1

      @@KevinPowell I mean to encode original image as progressive. The image in the video loads pixels sequentially top-to-bottom. A progressive image on the other hand starts with low-res version and gradually "emerges" improving in quality.

    • @Eckster
      @Eckster 7 หลายเดือนก่อน +2

      Yeah, I'm a bit confused why this is better than progressive encoded images, I suppose it gives you better control over load priority and just how low quality the original one is? Seems less efficient though and definitely more inconvenient.

  • @LaughingInCorner
    @LaughingInCorner 7 หลายเดือนก่อน

    This is great

  • @enriquegrageda
    @enriquegrageda 7 หลายเดือนก่อน

    I like the low resolution to high resolution effect 😃

  • @manuelenng
    @manuelenng 6 หลายเดือนก่อน

    Oh! Kevin Powell. I bless the day I followed your TH-cam channel.

  • @tenthlegionstudios1343
    @tenthlegionstudios1343 6 หลายเดือนก่อน

    wow this was super applicable to what I am doing at work today. I want an SVG from the server to be in place of the image until it loads.So with slight modification I can serve the SVG from my server that will be loaded with the html, until my image can load in. Thanks!!

  • @crstnio
    @crstnio 7 หลายเดือนก่อน

    Built into my new project! ✅

  • @PBearne
    @PBearne 7 หลายเดือนก่อน +1

    We added a background color placeholder in WP performance-lab plugin

  • @JohnBortins
    @JohnBortins 7 หลายเดือนก่อน

    Added this to one project. Now I need to make some small adjustments where images lack margin.

  • @EugeneKoshelev
    @EugeneKoshelev 6 หลายเดือนก่อน

    Cool!

  • @tonimaunde
    @tonimaunde 7 หลายเดือนก่อน

    8:10. What a nerd! Beautiful technique.

  • @incarnateTheGreat
    @incarnateTheGreat 6 หลายเดือนก่อน

    That background low-res hack reminds me of Netscape back in the day.

  • @bendavies925
    @bendavies925 7 หลายเดือนก่อน +4

    at 7:05, did you chuckle at what you said? hahaha

  • @KlaudiusL
    @KlaudiusL 7 หลายเดือนก่อน +7

    Instead of using a crappy/broken/low quality image, use a blurried version. Smooth color transition favor the jpeg algorithm.
    _comparation_
    original image: 1 Mb
    low quality image: 49 kb
    blurried image: 15 Kb

    • @xorlop
      @xorlop 7 หลายเดือนก่อน +4

      I would be interesting to try and convert to svg with a couple of squares then blur the svg

    • @zzord
      @zzord 7 หลายเดือนก่อน +6

      Or another option is to use blurhash. That's only a few bytes per image and looks very nice.

    • @KlaudiusL
      @KlaudiusL 7 หลายเดือนก่อน +1

      @@zzord Yeah .. nice catch. Thanks

    • @dealloc
      @dealloc 7 หลายเดือนก่อน +2

      @@zzordAnd also relatively cheap to decode! I love Blurhash :)

  • @davidcooper4327
    @davidcooper4327 4 หลายเดือนก่อน

    My first big takeaway was that you can undock the dev tools. I've been wrestling with docking on the side vs underneath for years.

  • @xorlop
    @xorlop 7 หลายเดือนก่อน +1

    Hey yall just a heads up to get that progressive image loading scan effect, I think your image needs to be interlaced. Otherwise, it will replace original all at once.

  • @NebihTV
    @NebihTV 2 หลายเดือนก่อน

    I did the low res solution already in 2015.. unbelievable that people just came up now with this. 😂

  • @VaibhavShete
    @VaibhavShete 7 หลายเดือนก่อน +1

    I remember when some websites used to feature this low-res-then-hi-res images, but when I checked it had turned out that there's a special way of encoding in jpg: Progressive JPEG! Don't think it is supported in webp so we don't see it much these days. That also maybe because overall the internet speed is better than those days.
    But it does exactly this. Shows a low res version of the image and progressively enhances it!! All in a single image file, not making you store hi-res and low-res separately.

  • @henriquesalgueiro2744
    @henriquesalgueiro2744 6 หลายเดือนก่อน

    Pleease make a video of handling with browsers input autofill (how to change the way it styles) 🙏🏻

  • @philibertetienne1747
    @philibertetienne1747 7 หลายเดือนก่อน +1

    Hello Kevin, thanks for all the inspiration ✨️
    Lighthouse in chrome devtools gives the advice to use srcset and avif format for optimized images. Would it be something you recommend in addition to current content of your wonderful video ?

    • @thekwoka4707
      @thekwoka4707 6 หลายเดือนก่อน +1

      Srcset is better 100%.
      This lowres placeholder thing is nonsense.
      Use srcset and sizes with a. Generous helping of options in webp, and all the loading issues are solved.

  • @hubyxreds
    @hubyxreds 7 หลายเดือนก่อน +3

    Nice video! I wonder what are the advantages of a low res placeholder vs a progresive jpg? Also in specific cases you don't want to have contents shifting may be better to use a transparent placeholder and an absolute object on top of it.

    • @tombyrer1808
      @tombyrer1808 7 หลายเดือนก่อน

      As suggested in the video, you can preload 'above the fold' placeholders. A very low resolution placeholder might be less kb than the first pass of a progressive image. Also, depending on your target browsers, might be better not to use jpegs, but only AVIF & WebP.

    • @hubyxreds
      @hubyxreds 7 หลายเดือนก่อน

      @@tombyrer1808 I don't know the math behind the progressive scan but I'm certain that the first pass is smaller than a reduced image. Btw, I would stay away from the AVIF format for now until its compatibility improves.

  • @Benjambles
    @Benjambles 7 หลายเดือนก่อน +4

    If you have a lot of images, and a slow network, preloading low-res images may also not be great. You could also consider using blob urls which will add to the initial page weight, but should compress fairly well.

    • @clintquasar
      @clintquasar 7 หลายเดือนก่อน +1

      Perhaps lazy loading then.

    • @thekwoka4707
      @thekwoka4707 6 หลายเดือนก่อน

      No, just use srcset and sizes properly.
      And lazy loading too, of course.

    • @martinklasson1981
      @martinklasson1981 6 หลายเดือนก่อน

      ​@@thekwoka4707 I just am not that fond of srcset/sizes - because they use the viewport and not the container as the "judge" of what image to load? I can not understand why there is a better native solution already for this.

  • @dj10schannel
    @dj10schannel 3 หลายเดือนก่อน

    Interesting 🤔

  • @kosmar
    @kosmar 3 หลายเดือนก่อน

    watched this on the subway. ironically i saw the lowres image part in a very low res video.

  • @nomadshiba
    @nomadshiba 7 หลายเดือนก่อน

    great

  • @RhayvenBlood
    @RhayvenBlood 7 หลายเดือนก่อน

    Wait, that shape-outside gives me an idea for a redesign that would work well with that style of positioning o:

  • @paradoxify_
    @paradoxify_ 7 หลายเดือนก่อน

    If I have many images in my site, do I have to prefetch low-res images of them in head tag if I want to use them? Wouldn't it make a mess?

  • @fabbahiense
    @fabbahiense 4 หลายเดือนก่อน

    In the hero image, wouldn't it negatively affect the lighthouse, for example?

  • @seabass_1
    @seabass_1 3 หลายเดือนก่อน

    whats best practice as far as this vs like figure , picture, source stuff

  • @MaxWeir
    @MaxWeir 7 หลายเดือนก่อน

    I love the background image idea, but how could I use this method as a carousel? And for a page that has multiple cards with carousels.

  • @HolgerNestmann
    @HolgerNestmann 7 หลายเดือนก่อน +1

    This is so funny. I basically built the same fake progressive image image loader this morning. What'd be really cool if we'd had a pseudo class during loading - we could blur the background image or indicate loading indicator without javascript

  • @nathanmiddleton1478
    @nathanmiddleton1478 7 หลายเดือนก่อน +3

    Whatever happened to progressive JPEG? Doesn't that do the same thing without making two network connections?

    • @SebastianMares
      @SebastianMares 7 หลายเดือนก่อน

      Just my thought

    • @HolgerNestmann
      @HolgerNestmann 7 หลายเดือนก่อน +1

      nothing happened. They are still great. This is good for png, gifs or maybe user uploaded jpgs. HTTP2 helps on the connection overhead

    • @thekwoka4707
      @thekwoka4707 6 หลายเดือนก่อน

      It's also larger than a webp, so why bother?

  • @ruittenbogaard-digital
    @ruittenbogaard-digital 6 หลายเดือนก่อน

    Awesome tips! But I was just wondering... what is the advantage of a background-image over ?

    • @KevinPowell
      @KevinPowell  6 หลายเดือนก่อน +1

      That was deprecated with the release of html5. The purpose of that was what we can do with srcset now, with several different versions. From what I understand, it's purpose wasn't to act as a placeholder, but was an alternative version that was lower res.

  • @DainSPb
    @DainSPb หลายเดือนก่อน

    About the background-image trick: isn't it better to use progressive jpeg instead of messing with duplicated image files that may cause some SEO and maintenance issues?

  • @scryspc
    @scryspc 5 หลายเดือนก่อน

    Instead of the low res version I get a white background while the high res image is loading over it and I'm not sure why.

  • @Tony.Nguyen137
    @Tony.Nguyen137 6 หลายเดือนก่อน

    Can I use width and height 100% + object-fit: cover/contain on image or it it bad practise

  • @PicSta
    @PicSta 6 หลายเดือนก่อน

    Wouldn't it be better to apply this to picture, svg and video tag as well?

  • @dzigizord6567
    @dzigizord6567 3 หลายเดือนก่อน

    Why using the background image hack when we can use tag and have a low res image while big one is loading

  • @thekwoka4707
    @thekwoka4707 6 หลายเดือนก่อน

    The low res placeholder thing is a bad bandage.
    It just increases network congestion.
    Use a proper src-set and sizes attributes so that you srent acrually loading it massively oversized images, and the browser can adapt to poor network conditions.

  • @jmsherry
    @jmsherry 7 หลายเดือนก่อน +1

    If you leave it as display inline and you have it as an isolated element surely that loses the ability to use vertical margins, no? That could be problematic?! (Case for inline-block?)

  • @Stoney_Eagle
    @Stoney_Eagle 7 หลายเดือนก่อน

    Is there a way to get rid of that broken image thingy and the border for missing images? (Specific use case only) I can use Javascript but a plain css/html option would be nice.

    • @KevinPowell
      @KevinPowell  7 หลายเดือนก่อน +2

      You can use a psuedo element (::before and ::after) on images, which only shows up when an image is broken, otherwise it doesn't do anything. I haven't played around with that much though, so I'm not sure how support is across browsers

  • @letshev
    @letshev 7 หลายเดือนก่อน

    Is this applicable to SVG images inside the img tag?

  • @dasten123
    @dasten123 7 หลายเดือนก่อน

    I don't get why the shape-margin should be included in the img reset. If it's just for those special cases, why not specify it along with the float and stuff?

  • @danish_ayoub
    @danish_ayoub 7 หลายเดือนก่อน

    interesting

  • @adam4813
    @adam4813 7 หลายเดือนก่อน

    Just a shout-out to adam-7 pngs that have this progressive loading of a lowres version for an image, while loading the higher res, out of the box.

  • @Antimated
    @Antimated 7 หลายเดือนก่อน

    Would all of this work with a figure tag and multiple source-sets?

    • @KevinPowell
      @KevinPowell  7 หลายเดือนก่อน

      For an image inside a figure, I don't see why it wouldn't work :)

  • @najmantube
    @najmantube 7 หลายเดือนก่อน

    Would it be overkill (or bad SEO) to preface all alt text with 'Image:', e.g. alt="Image: range of hills"? This, along with italic text, would help to distinguish it from the surrounding text if image loading failed.

    • @thekwoka4707
      @thekwoka4707 6 หลายเดือนก่อน

      It's more just not appropriate.
      Alt text is not a description of the image (description is a separate atteibute).
      Alt text is supposed to communicate whatever the point of the image is, not describe what the image is.
      In this case, the hills has no point. So it is decorative and wouldn't have an alt, to be each compliment.

    • @najmantube
      @najmantube 6 หลายเดือนก่อน

      @@thekwoka4707 That's a critique of the use of alt text in the video. My point was that, given the alt text did have some use and was correctly written, wouldn't prefixing the alt text with 'Image:' help people who had to read it on the screen (because image loading failed)?

    • @trevoreyre
      @trevoreyre 5 หลายเดือนก่อน

      @@najmantube You usually don’t want to say it’s an image in your alt text. A screen reader will announce that the element is an image before reading the alt text, and a broken image will have the little broken image icon next to the alt text for sighted users. So in both cases, it’s already clear that it’s an image and including that in your alt text is redundant.

    • @najmantube
      @najmantube 5 หลายเดือนก่อน

      @@trevoreyre You're right!

  • @cupcake4fia686
    @cupcake4fia686 7 หลายเดือนก่อน +24

    Thank you for the video, also 🇵🇸

  • @mihao-runs
    @mihao-runs 7 หลายเดือนก่อน

    height auto sometimes messes up in safari :/

  • @rohitpariyar1095
    @rohitpariyar1095 2 หลายเดือนก่อน

    img {
    display: block;
    max-width:100%;
    height: auto;
    font-size: italic;
    background-repeat: no-repeat;
    background-size: cover;
    shape-margin: 1rem;
    }

  • @outpost31737
    @outpost31737 7 หลายเดือนก่อน

    Most hosting providers already include a built-in lazy load option. Great idea but more code and unnecessary in most cases.

  • @sito8943
    @sito8943 7 หลายเดือนก่อน

    That was amazing Kevin, thanks face-blue-smilingface-blue-smiling

  • @MonsterSmart
    @MonsterSmart 7 หลายเดือนก่อน

    shape-margin... Yea I already see developer in the corpo having PR blocked with the PR changes requests like "why is this shape-margin is for? When we are not using it then it shouldn't be here"

  • @QwDragon
    @QwDragon 7 หลายเดือนก่อน

    Why eberybody makes low resolution images instead of using progressive jpeg?

    • @thekwoka4707
      @thekwoka4707 6 หลายเดือนก่อน

      Progressive jpg load slower, since they are larger, by a LOT, than webp

  • @ncmathsadist
    @ncmathsadist 7 หลายเดือนก่อน

    An image, by default, is an "overgrown character."

  • @giannismentz3570
    @giannismentz3570 5 หลายเดือนก่อน

    Isn't this extra loading of a low-res img redundant, since jpg already has this built-in, in its "progressive" property?

  • @pinnaclewd
    @pinnaclewd 7 หลายเดือนก่อน

    Hmmm is this really any better than a webp compressed with lazy load?

    • @HolgerNestmann
      @HolgerNestmann 7 หลายเดือนก่อน +1

      yes. WebP doesnt offer progressive or deinterlaced loading. So having a couple of pixel large placeholder is still helping while the (albeit faster) loading webp arrives

    • @thekwoka4707
      @thekwoka4707 6 หลายเดือนก่อน

      No it's not.
      It's just worse.
      If you have proper srcsets sizes and loading attributes, then the image loading thing isn't an issue.

  • @royerromero7u7
    @royerromero7u7 4 หลายเดือนก่อน

    Eres un genio, piensas doblar el idioma al español para tus suscripciones latinos?

  • @codeguy11
    @codeguy11 7 หลายเดือนก่อน +1

    Instructions unclear. My images didn't load

  • @NovaKirsch
    @NovaKirsch 7 หลายเดือนก่อน

    Harry??? Harry???

  • @junsu-ho
    @junsu-ho 6 หลายเดือนก่อน +2

    classic overcomplicating things from Kevin xD 😅

  • @dienvidbriedis1184
    @dienvidbriedis1184 7 หลายเดือนก่อน

    if i'm on slow 3g network, last thing i need is to load extra low res images just because designer wanted to flex his css skills. fail!

  • @hunin27
    @hunin27 7 หลายเดือนก่อน

    wassup guys

  • @brad1785
    @brad1785 7 หลายเดือนก่อน

    The real ultimate low-quality image placeholder technique is a progressive JPEG/JPEG-XL.

  • @lucienchu9649
    @lucienchu9649 7 หลายเดือนก่อน

    image always drive me crazy, even the most basic styling.

  • @kliMaLd
    @kliMaLd 7 หลายเดือนก่อน

    2023 - slow 3G?

  • @MohammadAk-rx6kl
    @MohammadAk-rx6kl 7 หลายเดือนก่อน

    Third

  • @badcatdesign
    @badcatdesign 7 หลายเดือนก่อน +1

    Sometimes we just miss "lowsrc" 🤣

  • @BoobCheese
    @BoobCheese 7 หลายเดือนก่อน +2

    first

  • @vivekv4250
    @vivekv4250 7 หลายเดือนก่อน

    Second

  • @Manic_Drone_Idiom
    @Manic_Drone_Idiom 7 หลายเดือนก่อน

    This video needs no padding

  • @funkologie
    @funkologie 7 หลายเดือนก่อน

    Get serious 😂

  • @rumisbadforyou9670
    @rumisbadforyou9670 7 หลายเดือนก่อน

    why purposefully add bloat?
    buy your customers an i9, then add all the bloat you want
    till then, keep your hands away from my cpu

  • @stillready6405
    @stillready6405 7 หลายเดือนก่อน

    Pretty cool "trick/hack". I will start using it :D

  • @mirabilis
    @mirabilis 7 หลายเดือนก่อน

    CSS is pain

  • @cemondel
    @cemondel 4 หลายเดือนก่อน

    overengineering