CSS Sprites Tutorial

แชร์
ฝัง
  • เผยแพร่เมื่อ 25 ธ.ค. 2024

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

  • @cutefunnypets3164
    @cutefunnypets3164 2 ปีที่แล้ว +3

    Thank God...finally got someone on YT to explain sprites without complicating the stuff around....thanks for the clear explanation and keep up the good work! Subscribed already

  • @tonytony-fc6gq
    @tonytony-fc6gq ปีที่แล้ว

    11 years and this video is still great, thank you

  • @ReinierMatthews
    @ReinierMatthews 5 ปีที่แล้ว +2

    Lol. After all those years, your material still is a great reference in times my poor memory gets flooded with all the code and development. "hmz, forgot how it was. Let's ask Brad!" and watch a vid of yours.
    I know making videos is hard work and I wanted you to know (again and again) you're an inspiration and I owe you. Greets form abroad.

  • @hrblocked
    @hrblocked 10 ปีที่แล้ว +17

    "Hope you feel like you learned something" sounded like "Hope you Fk'n learned something" haha. Good tutorial!

  • @MickJnr7
    @MickJnr7 12 ปีที่แล้ว +1

    I absolutely love your tutorials! They are so much better than the rest on TH-cam!

  • @clevermissfox
    @clevermissfox ปีที่แล้ว +1

    “Just Google gimp…..editor. Gimp IMAGE editor”
    Good catch. Could’ve traumatized many a css curious coder… or triggered a new fetish 😂

  • @CarltonStith
    @CarltonStith 11 ปีที่แล้ว

    Your explanation really rocked! I have several images that I needed to use for a web site that I just built and I was having a difficult time understanding Sprites until I watched your tut.

  • @LYRICSO926
    @LYRICSO926 ปีที่แล้ว

    This is one of t the best tutorials on the internet frr!

  • @khalidelgazzar
    @khalidelgazzar 5 ปีที่แล้ว

    Great tutorial. Works even after 7 years of publishing it!

  • @RameenFallschirmjager
    @RameenFallschirmjager 4 ปีที่แล้ว

    This is so clever and I wonder why no one talks about this anymore!

  • @CoffeJava
    @CoffeJava 10 ปีที่แล้ว +2

    very useful video. one of the most understandable that I have seen

  • @derekbrown5123
    @derekbrown5123 10 ปีที่แล้ว

    Right at 6:43 is what I was having trouble with. I just couldn't visualize what or why we added the -120px, in this instance for example, but it's because when the user hovers we will include the imagine at -120px to show that section of the image. At least I think. I am starting to get it.

    • @derekbrown5123
      @derekbrown5123 10 ปีที่แล้ว

      Oh and great video, by the way!

    • @LearnWebCode
      @LearnWebCode  10 ปีที่แล้ว

      Derek Brown Thanks! I had a similar issue when I was first starting to understand sprites, but you described what is going on perfectly! Creating your own demo / example always helps me fully understand something as well.

  • @salesbrahma
    @salesbrahma 4 ปีที่แล้ว

    Where do you draw the sprites? Could you please suggest some softwares or provide links?
    Thank You!

  • @naomibutler-abisrror1567
    @naomibutler-abisrror1567 10 ปีที่แล้ว +1

    This finally makes sense! Thank you for the tutorial.

    • @LearnWebCode
      @LearnWebCode  10 ปีที่แล้ว +2

      You're welcome! I'm glad you found the video helpful :)

  • @stephenung4736
    @stephenung4736 10 ปีที่แล้ว

    Thanks for the tutorials, now I am confident to build a responsive website!

    • @LearnWebCode
      @LearnWebCode  10 ปีที่แล้ว

      Stephen Ung That's great to hear - good luck with the new site!

  • @7daysinSunnyJune
    @7daysinSunnyJune 9 ปีที่แล้ว +1

    great video, thanks for the tutorial!

  • @khairfaris6973
    @khairfaris6973 12 ปีที่แล้ว

    Great and easy to understand straight-forward tutorial. Good job! I just got a few questions..
    1) For the contact image background property, can I use "url(img/sprites.jpg) top right no-repeat" instead of "-120px 0px no-repeat" ?
    Also am I correct to say the width of your sprite image is 240px?
    thank you!

  • @samdanisatti2600
    @samdanisatti2600 4 ปีที่แล้ว

    You are so good teacher Allah bless you with more knowledge and skill .

  • @17zu8
    @17zu8 12 ปีที่แล้ว

    is it possible / sensible to create a picture gallery (only 3 or 5 images) with this?
    (so when you click on the image, the next one will appear)

  • @rejj0313
    @rejj0313 11 ปีที่แล้ว

    This video simply ROCKS! thanks for sharing. really!

  • @pcfreakout
    @pcfreakout 12 ปีที่แล้ว

    what editor are u using?

  • @hiq8002
    @hiq8002 2 ปีที่แล้ว

    nice explanation, thanks

  • @dashdeezle
    @dashdeezle 10 ปีที่แล้ว

    Great tutorial! Thanks!

  • @muradquliyev6448
    @muradquliyev6448 5 ปีที่แล้ว

    Thanks. It was very useful to me.

  • @mcballsitr0n565
    @mcballsitr0n565 4 ปีที่แล้ว

    how do i make the sprite sheet?

  • @saiprakash4189
    @saiprakash4189 2 ปีที่แล้ว

    Awesome man

  • @sapnanaveen7800
    @sapnanaveen7800 9 ปีที่แล้ว

    This was Helpful. Thanks :)

  • @colxplosion
    @colxplosion 10 ปีที่แล้ว

    Fascinating!

  • @108everest
    @108everest 7 ปีที่แล้ว +2

    Don't you mean down 120px, not up?
    Great video, and yes, I fucking learned something. :P

  • @charliehrse650
    @charliehrse650 11 ปีที่แล้ว

    Tutorial begins just after 4:15

  • @brainwavedesigns
    @brainwavedesigns 10 ปีที่แล้ว

    Thanks alot! got it! ;)

  • @superjokerrr
    @superjokerrr 8 ปีที่แล้ว +1

    Does not work with li inside nav>ul

    • @Kwisatsoundman
      @Kwisatsoundman 7 ปีที่แล้ว

      I can't see why it wouldn't work for links placed inside an unordered list?! Unless I'm mistaken, CSS sprite technique works well with virtually any HTML element that can have a background-image (in other words, with any element that are displayed as 'block' and to which you can therefore assign a width and a height).

  • @KhmerTutorials
    @KhmerTutorials 7 ปีที่แล้ว

    Thanks you a bunch!

  • @J0kuc
    @J0kuc 6 ปีที่แล้ว

    1. Why are you using span instead of div if you're going to display it as a block anyway? 2. Why the text indent? You're not going to have text there so why bother?

  • @JustinBieberFUCKYOU
    @JustinBieberFUCKYOU 12 ปีที่แล้ว

    PLEASE PLEASE PLEASE! HELP ME!?! How do i distort or condense my FONT to be 80% on the x axis???
    please help me???

  • @gintasdx
    @gintasdx 11 ปีที่แล้ว

    Why not simply using SpriteSheet offline CSS sprites generator for Windows?
    It will generate CSS code with all sprite positions.

  • @atharvsingh3233
    @atharvsingh3233 3 ปีที่แล้ว

    Content are Not visible properly.

  • @mcballsitr0n565
    @mcballsitr0n565 4 ปีที่แล้ว

    this man has a teaches more at Udemy so if you wanna learn more you can go there

  • @evanwilson9906
    @evanwilson9906 10 ปีที่แล้ว

    Thanks.

  • @jewelryjuly3921
    @jewelryjuly3921 9 ปีที่แล้ว

    I don't understand how he knows the exact location of the icon he wants? How does he know that the house is 120 by 120? I understand how he is moving them but how does he know the exact pixel location of each icon?

    • @Kwisatsoundman
      @Kwisatsoundman 9 ปีที่แล้ว +1

      +Jewelry July Because he created this image file in Photoshop (or whatever other image editing software) by using the "grid" feature (from the "view" menu) in order to position each element at a precise location in pixels.

    • @jewelryjuly3921
      @jewelryjuly3921 9 ปีที่แล้ว +1

      thank you!

  • @gintasdx
    @gintasdx 11 ปีที่แล้ว

    SpriteSheep :D

  • @mrhuaquito2708
    @mrhuaquito2708 8 ปีที่แล้ว

    it doesnt work

  • @dankierson
    @dankierson 2 ปีที่แล้ว

    Sounds like Bucky from thenewboston. *Sellout Bucky* we call him 😁