I was trying to solve this by myself for 2 hours and found solution nowhere else. Thanks a lot.
@myrainys3 жыл бұрын
2 hours? I was looking for this 30 hours!
@ecophobic4 жыл бұрын
"the percentage value for padding is based off the parent element's width" thank you
@wlan25 жыл бұрын
Hi. Can you make a video about the same thing, but when you don't know what the image dimensions are? For a user uploaded image or something similar, you don't know what the ratio is or there are multiple, so you can't apply a "fix" padding.
@NelsonB0075 жыл бұрын
thanks pal for the tip... I´ve been struggling with those images for quite a long time!
@marioecg5 жыл бұрын
This is an epiphany! Thanks mate.
@positive.stories4 жыл бұрын
You are a Lifesaver! Amazing Tutorial!!
@MK-zf6or3 жыл бұрын
thanks so much, good vibes your way
@tusharsaini28013 жыл бұрын
Thanks you.. Really helpful.
@milindsankhe77343 жыл бұрын
Thanks this is helpful
@0lo202 жыл бұрын
Hello, im struggling with decreasing photo's height and width on my mobile version. I just want this photo to be proportionally smaller on mobile but to leave like it is on desktop version. Couldn't find any solution.. please reply! Thanks!
@darkraysha3927 Жыл бұрын
Dankeschön war echt hilfreich
@HeartSoulLeake3 жыл бұрын
The image doesn't show. only the BG color
@ravihashimi38892 жыл бұрын
thank you
@orlamcnamee19824 жыл бұрын
OH MY GOD THANK U
@ghostman28764 жыл бұрын
wow
@efexzium3 жыл бұрын
bro great video but please open up a Patreon account so if u need a better mic people can donate to your channels patreon and u can start making better videos
@lycan24942 жыл бұрын
ok that breathing is annoying asf ngl
@thirdstreetnorth3 жыл бұрын
I couldn't concentrate on the content because of your breathing and gasping... duuuuude this is to good to be busted by such a goofy thing. I hope you fix that, cheers
@noGFnoMONEY4 жыл бұрын
Finally i found this great tip. You're a genius
@johnm32292 жыл бұрын
No source code? LOL
@John2234 жыл бұрын
saved my ass very much. thank you
@CavanMitchell2 жыл бұрын
dude! this was the answer i was searching hours for! thks so much
@vaggelismanousakis61473 жыл бұрын
So if i want to put an image to have "height:50%" of my browser at any time I implement it with your solution ? Thanks in advance!
@MrRedhawk165 жыл бұрын
Man you are Brilliant !
@kertosyt Жыл бұрын
so my brain is furiously asking me right now , what if you want to , set an image height, at 100vh , and width at 100% of the container, but instead of letting the image stretch , you want to set the image to crop according to the size of the container , while respecting the aspect ratio, could it be done by loading a an image that is bigger than the container, set the center of it as the center of the container and have the container hide and show parts of the image as the size changes?
@Enn999999 ай бұрын
oh my god, you are cool, this is what I have been tackling for more than 2 weeks. Thank you so much
@michaelhajny13484 жыл бұрын
Everything was helpful and I realy appriciated your work but try to work on your breath :)
@mrdj3z4 жыл бұрын
Sounds like he has auto mic volume turned on and the mic volume spikes up during the brief moment between talking and breathing.
@TylerThomas Жыл бұрын
so basically padding-top: img(height) / img(width) Is there an auto for this?
@samamansaray86484 жыл бұрын
That teaching breaks off my doubt. I learnt a lot. thank you
@itech405 жыл бұрын
Great content keep it up. Clear neat fast
@BuckeyeDave13 жыл бұрын
Fantastic and Thanks! Fixed the Banner I was working on. Appreciate your efforts sharing this info
@EGGFlower-5 жыл бұрын
thank you men, you save my time.
@atuc7750 Жыл бұрын
Tks broo very much, it worked
@gagikavagyan99204 жыл бұрын
Thank you it's very useful
@nahabiz6 жыл бұрын
Clear and concise! Thanks!
@vinayuttekar87358 ай бұрын
best video on this topic!
@bensmith8074 жыл бұрын
mind is blown!
@habibiSD4 жыл бұрын
Amazing Job, big kudos
@SonGoku-pc7jl2 жыл бұрын
thanks! good tip! :D
@ghulamilyas6020 Жыл бұрын
thanks alot bro
@TylerThomas Жыл бұрын
bravo
@chinonsoemeji23862 жыл бұрын
Thanks
@aaroncross60752 жыл бұрын
Whaaat?! D:
@marc.laurin2 жыл бұрын
u r a fkn god m8
@kamsb28314 жыл бұрын
Hi, whenever i do a background image, i try to put an element like a H1 it goes under the image as a new block, how can i put elements on the top of the image?? Thank you
@amena2984 жыл бұрын
Kam Sb try this: H1{ position: absolute; top: 0; left: 0; } Also set position relative to parent div. This should put the H1 element on top of the image.
@efekarahanl50574 жыл бұрын
u can add z-index property. element with the biggest z-index will be on top
@hebertsbonilla74055 жыл бұрын
Thank you so much! Pretty nice tip
@edzm.94214 жыл бұрын
This is helpful. Keep it up!
@anhtaibui49104 жыл бұрын
loving it!
@PolarTitan3 жыл бұрын
Problem I have with this is I already have a background serving as a parallax effect. So background on top of this just complicates things for me.
@samrathchauhan1271 Жыл бұрын
this is a legendary video, wasted 20-30 minutes on other videos but this is the real deal and in just 3 mins ^-^
@tsu19832 жыл бұрын
Thank you for this tutorial.I could not find nowhere solution until I watched this video.
@krupaluvora14502 жыл бұрын
Thankyou so much sir I was trying to solve it from last 3 days but you just solved it in just 3:30 minutes
@dontewarapperuma97623 жыл бұрын
Thanks ....this was very helpful 🖒🖒
@SanJay-rj5jv3 жыл бұрын
try to have a control on your breath while speaking. it is annoying to listen like that. otherwise it is good. thank you
@briangitau77373 жыл бұрын
All I heard was mmnnnthaAAA
@quocminhtrungthach11622 жыл бұрын
My god, thank you for this
@AliKhan-zv6nh3 жыл бұрын
Thanks You
@simpleman17704 жыл бұрын
Is any way use fr of grid in flex
@calvitocalvon17113 жыл бұрын
good shit
@matiasrinaldi15384 жыл бұрын
Thank you!
@danyalahmed6414 жыл бұрын
Although the content is great,but the sound of breathing is quite irritating.