Fullscreen Video Background With HTML & CSS

แชร์
ฝัง
  • เผยแพร่เมื่อ 8 ม.ค. 2025

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

  • @funsupervised
    @funsupervised 7 ปีที่แล้ว +251

    Brad, don't listen to the haters. The sound of a super loud mechanical keyboard is music to a developer's ears.

    • @ankitagarwal1254
      @ankitagarwal1254 6 ปีที่แล้ว +8

      True!! .. I felt same.

    • @Dainja
      @Dainja 6 ปีที่แล้ว +9

      I was just going to make that same type of comment. I love the sound of typing on a keyboard.

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

      That's true, videos without that sound are boring))

    • @benisonbesra
      @benisonbesra 5 ปีที่แล้ว +3

      Seriously I love the Keyboard sound. "Music to every coders "

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

      True that!

  • @PaulCostanzaplaysdrums
    @PaulCostanzaplaysdrums 7 ปีที่แล้ว +55

    If you use your own video with sound, use the muted attribute. Example: Another amazing video, thank you Brad!!

    • @TraversyMedia
      @TraversyMedia  7 ปีที่แล้ว +5

      Good tip

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

      Setting muted will also allow the video to autoplay on iOS devices. Otherwise it will only play if the user requests it to (i.e. call .play() video API in JS).

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

      Would it also be a good idea to remove the audio from the clip so that the file size is reduced?

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

      DUDE YES THANK YOU SO MUCH!

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

      Or even better, transcode the video without sound and the filesize get's smaller and loads faster.

  • @ItzLiLC
    @ItzLiLC 7 ปีที่แล้ว +65

    You provide free education and people complain about your keyboard? Keyboard is no bother and thank you for your videos.

  • @brianlmosley
    @brianlmosley 7 ปีที่แล้ว +103

    You are doing blessed work. Once I get my first coding gig I’m donating money to you for sure.

    • @TraversyMedia
      @TraversyMedia  7 ปีที่แล้ว +18

      Thanks man, I appreciate that.

    • @gjvidz
      @gjvidz 7 ปีที่แล้ว +6

      Same here

    • @spacewad8745
      @spacewad8745 7 ปีที่แล้ว +13

      I am fairly young(just 15) but I look forward to repay Brad for his help in the future, someday!

    • @moustafamahmoud8819
      @moustafamahmoud8819 7 ปีที่แล้ว +4

      SAME

    • @tabiApo41013
      @tabiApo41013 7 ปีที่แล้ว +3

      Yeah me too..

  • @halfaddercircuit
    @halfaddercircuit 7 ปีที่แล้ว +13

    You are probably the best web development teacher I have ever seen. I wish I could sponsor you. Keep up the good work and thanks for teaching new stuffs to us.

    • @TraversyMedia
      @TraversyMedia  7 ปีที่แล้ว +7

      Just watching with no adblock and liking is supporting me more than you know :)

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

    These tutorials are lifesaving, and they're a joy to circle back too. Your audio setup is fantastic and I never hear any background noises. I appreciate your efforts and explanations.

  • @simonburyan1669
    @simonburyan1669 6 ปีที่แล้ว +10

    hi guys, I had an issue with Chrome at 6:15 . Mozilla was playing the video fine, but Chromewould not start to play at all. Stackoverflow has a sollution in question "HTML5 Video autoplay not working", but I still needed to edit it. A sollution, which worked for me was:

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

      change the video width to "auto"

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

      Thanks Simon! I was wondering why my video was not playing in Chrome when I coded it.

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

      I had similar problem. Added muted="true", and its worked for my Chrome for some reason))

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

      Got the same issue.
      Got solved by adding MUTED to the video src section ^^

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

      Thanks man, it helps me now.

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

    Dude! Every little question or idea I have and type into TH-cam search field is answered by You!! You’re the man. I literally clapped when I started watching this video!

  • @DUST35
    @DUST35 4 ปีที่แล้ว +4

    Thank you for this tutorial! To make the video fully responsive (and scale down below its resolution) I had to use these settings in the .fullscreen-video-wrap video{
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;

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

      Thanks A lot Bro !!

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

      thank you!! Ive been searching for this config for the last 2 hours, really appreaciate it!

  • @GeekMustHave
    @GeekMustHave 7 ปีที่แล้ว +7

    You did all that without any Bootstrap, very cool. When I do this same project I'm going to add a ton of comments to cover the little bits of knowledge that I've just heard. Excellent instructor, I let all the new folks know if it's your TH-cam video or a paid course by you to drop the coin and watch. Keep broadcasting!!

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

    Best tutorials from Brad, everything from front-end to back-end. BIG RESPECT!

  • @Fesser63
    @Fesser63 7 ปีที่แล้ว +52

    If the text in div.header-content is very short, it will not align center.
    Correct this by adding the rules:
    margin-left: auto;
    margin-right: auto;
    to .header-content in the css!
    :-)

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

      this comment saved me a ton of time. Thanks alot

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

      You are a hero.

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

      Thanks man!! I was racking my brain!

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

      I spent over an hour trying to figure this out, thanks a ton.

    • @yt.user-zull
      @yt.user-zull 6 ปีที่แล้ว +1

      That is a good suggestion!
      Here, in this case, we know that the v-header is a flex container and the header-content is its child, so, just add "justify-content: center" in the v-header class and see... the header-content will be centred.
      KNOW MORE:
      In a flex container:
      a) The property "justify-content" is used to align the flex items along the main axis of the flex. (It will align the items horizontally in this case.)
      b) The property "align-items" is used to align the flex items along the cross axis of the flex. (It will align the items vertically in this case.)
      Both the properties accept these values: center, flex-start, flex-end, stretch, etc.
      Note: A child of a flex container is referred to as a flex item.

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

    Who needs bootcamps when you have Traversy Media?!?? SUBSCRIBED!

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

    Another great tut. Thanks for all you do for the coding community. I've bought a number of Udemy courses, and I can say that your style is the one that I enjoy the most. Thanks Again

  • @_a-g_4407
    @_a-g_4407 3 ปีที่แล้ว

    just a great tutorial to follow through, I swear. about the right pace and about the right explanation. my webpage looks dope after implementing a video to the background after this tutorial. thanks a million!

  • @urospocek4668
    @urospocek4668 5 ปีที่แล้ว +46

    Autoplay attribute doesn't work(in Chrome and Safari) unless you put muted attribute too!

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

      thank you

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

      Same for current Firefox version

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

      What changes should I make so autoplay works on Chrome

    • @rutgerknobbe6850
      @rutgerknobbe6850 5 ปีที่แล้ว +3

      @@ashutoshmadhav1488 put 'muted' in video tag. example: SOURCES

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

      Thank you!

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

    Someone actually complained about the sound of your keyboard? Really?! Keep doing you. You are doing us a huge favor making these videos. Thank you.

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

    I have been scratching my head for half an hour. Finally got it. Tnx a lot. :')

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

    Thanks for another informative and practical project! This is the second responsive site I've attempted and your videos are terrific for explaining process+rationale. It's very satisfying!

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

    A) To address your loud keyboard, get the quietest keyboard you can find + get a directional mic and aim it square at your voice box. (Personally, I do not have any issue with hearing a keyboard myself.)
    B) This example works well, minus one aspect. The video fills the screen but does not resize when shrunken down or resized.

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

    Thanks Traversy! I've been teaching myself with W3Schools and edX classes. You're vids are easy to understand and very informative.

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

    Brilliant. I've been struggling with doing this very thing since yesterday. I was getting really lost trying to style it properly but you showed exactly what I needed to do. Thanks for sharing your knowledge.

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

    Hi Brad, you have added overflow-x: hidden; at 9:25, its great. Its also need to add in your other video Scroll Reveal Bootstrap Page, where the horizontal scroll is showing.

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

      How are your files working? I downloaded the codepen files and the video doesn't even show up on Chrome/Firefox.

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

    If your text does not show up on top of de video you might check if h1 p and a are inside of the div. I did this wrong and spend an evening searching for it. I love this video, your channel and courses!

  • @ezeamaka
    @ezeamaka 7 ปีที่แล้ว +16

    Just as usual, all your courses are 100% awesome. Thanks alot you've thought me lot. I pray I get a job soon to enable me become your regular patron. Please if you have a course on Sequelize and PostgresSQL or make one, I think as I need it others may also be interested. Thanks again

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

      Thank you man. I am looking into sequelize

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

      hi... how far have you gone

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

    i like the way you are explaining those things, you make them easy to understand

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

    Another great video, Brad. You're a very good teacher. I enjoy your Eduonix videos as well. Thank you.

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

    You deserve a million subs to be honest. I Appreciate your work. Thanks :)

  • @hteinferno
    @hteinferno 7 ปีที่แล้ว +18

    add this to the video tag to make it more responsive
    .videoInsert {
    position: absolute;
    right: 0;
    bottom: 0;
    min-width: 100%;
    min-height: 100%;
    width: auto;
    height: auto;
    z-index: -100;
    background-size: cover;
    overflow: hidden;
    }

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

      muchas Gracias juan!

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

      Thank you and forgive me if I'm wrong. I doubt neither version "scales" the video and was wondering if videos can works like background-image like typical format below.
      .bgimage {
      width: 100%;
      height: 100%;
      background-image: url("image.jpeg");
      background-position: center;
      background-repeat: no-repeat;
      background-size: cover;
      }

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

      thanks a lot man!!!!

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

    I like the sound of a mechanical keyboard! Great video as always btw! Thank you Brad!

  • @陈瀚龙
    @陈瀚龙 7 ปีที่แล้ว

    Dude, I love the loud keyboard. I grew up on old stuff, and my high school even had manual typewriters probably left over from the 40's or 50's:) I love typing, coding....all related sounds..music! But I'm crazy.....

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

      I know a lot of people like it, including me but I think more complain unfortunately

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

    Hi Brad. Just a thought on keyboards... if you can get hold of a corsair rgb strafe with cherry mx silent keys to try. It's not a cheap option but it ticks the mechanical and quiet boxes...

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

    Awesome video brad. I love watching your videos.

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

    For transparency i use rgba instead opacity, rgba does not make text transparent, only bg.

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

    Hi Brad, I like all of your videos. I have just one request that when you write CSS then please split the editor and open the HTML file also parallelly. I think this may help me understanding better.

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

    Thanks for this video. Do you know what's the best extension to use for videos? I want to make a video background for a my mobile web page, however I don't want this video takes too many time downloading first time. Maybe lazy loading is an option...

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

    Hi Brad, I am recent viewer. I have been going over your videos and have found them very helpful. I recently worked along side this video, and added some extra content into it. I have noticed that I am running into a slight problem. I use VS code along with live server. When I save (control S) the video stops playing in the background. I restart the browser, and occasionally it will start working again. But sometimes, it wont work until I continue to add more code (random css or comments). The code has no link to the video. I am not sure if you would be able to help out with this. Thanks again,
    David

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

    Loved this video! Want to watch all the other ones you have. you getting mad at the fly was pretty funny...

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

    Does iOS still have issues with VH and VW? I know a year or two ago, iOS Safari would consider the entire height or width of the document rather than just the viewport. This made for a super zoomed image for users on that browser.

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

    You might want to look at Open Broadcaster Software "OBS" and set it to record. It's an open source recorder which most streamers use. Extremely good at recording locally also.

  • @maykevin5
    @maykevin5 6 ปีที่แล้ว +2

    I'm trying to figure out how to keep the video centered in the window when resizing and not cut off the right side of the video. What code would i need for that?

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

      exactly! if your problem has resolved by now, please share with me the solution.

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

    This is what I needed right now. Thanks so much. Enjoying your udemy course too.

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

    here is the place to get good stuffs about web development.i really really like this channel

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

    ## I need help!!
    I am trying to add a navigation menu to the top without any background, only the text (home, about, contact, etc) will be displayed, I guess this means opacity = 1. But the thing is am having problem with positioning it above the video without messing up the original design

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

    Thanks for sharing your knowledge in such a selfless way, buddy! Cheers

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

    Wow.... Loved this! can't wait to try it out myself. MANY THANKS!!

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

    Thank you brad.i remember when for my first time i started to write html and css looking your videos ..XD thank you . I appreciate what u'r doing ..good video tutorial

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

    Love your videos man. You have definitely helped me out on some things I have gotten stuck on.

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

    What should be the recommended file size or duration of the videos when using them for page backgrounds? Don't they increase loading times for people with bad connections?

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

    I have a video where a ship is sailing in the middle of the video. So whenever I view the site from my tablet in portrait mode, the video is not centered. I see half (or less) of the boat sail by. How can I set the video in the center of the screen in media query? Or should I upload a second video for that size for responsive mode? Thank you.

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

    great video like always, thank you.
    if the arrow keys are screwing you over, use the vim plugin for your visual code and never take your hands off your home row again. you could, ofc, just switch to vim altogether :)

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

    you're the man dude, keep it up helping other people..tnx

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

    Great content as usual! Thanks for the helpful tutorial and keep it up!

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

    this is so usefull. Thanks man! You saved my semester hahaha

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

    thank you, any chance you could explain more about css like when you say "border-box" could you explain some more what's it's doing exactly? maybe that could be another video explaining all this stuff. any chance you could show how to build the whole page you were show that shows the video?

  • @jahjahtruth
    @jahjahtruth 7 ปีที่แล้ว +3

    One more thing I can not get my video responsive with min-width and min-height. Only with regular width and height but it does not cover the full screen with just those elements. Any suggestions?

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

    Great tutorial!! I do have a question. I have been playing around with your code, and everytime I remove the the whole text(h1) and button swift to the left and I can't seem to make it go center or to the right.

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

    Thank you, Brad! You're awesome.

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

    Hello,
    after watching your video I have a simple question. As you see, the video in the background (wich is visible) will always be from the left side beginning. Is there a possibility to center the video in the background. You will see it mostly when making the browser width very small. But as always, thank you a lot for this awesome videos.

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

    Correct me if I am wrong but with regards to centering the text, since the .vi-header class is being defined as a flex box container by setting the property: display:flex and we vertical align our flex items using the align-items: center property, wouldn't it make sense to also use: justify-content: center ? Thus we would not need to use text-align: center ... Please correct if I am wrong ..

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

    Thank you very much for this tutorial, I am so glad that I have learnt so many things including (align-items: center;) I didn't know about it, I was struggling on aligning contents each one, THANK YOU AGAIN :)

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

    I LOVE YOUR WORK YOU LITERALLY GIVE RELEVANT INFORMATION THANK YOU SOO MUCH

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

    Hello Brad, tnx for this amazing tutorial can you please tell me how to make the video responsive?

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

    Loved the video! I did have a question. Regarding these large video and images files being used in these type of applications, how do you handle the loading or pre-loading of these to ensure a good load time on a given website?

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

    Thank you so much for sharing! I have a question which is when you are defining the width or height of the element, is there any difference between using 100% and 100vh(vw) to achieve full height/width?

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

    Ah dude this is dope, might just use this method over particles.js as my portfolio header

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

    If I make section a darker.. how do I prevent a gap between the video and section A?

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

    Very good but the video does not starts automatically on chrome.How do I play the video through code to make sure the video is going to play? How to deal with this kind of problems that something works on one browser but not on anothers?Thank you

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

    im in California and also this time of the year flies are everywhere!

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

    Guys i am having problem. When i am shrinking browser from top to bottom or bottom to top, div="header-content" is mixing with section class. I dont know to fix header content to stay at his place while shrinking. Please help.

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

    Finally back to html & css. love it! :D

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

    Great video brad. Can u make a video on creating new things. Like your ideas or how you create new awesome things.

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

    Thank you for the tutorial, in fact you are more than prompt in answering our request

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

    Curious when i put the z-index on the header-content class the text doesn't appear until i put the property postion:relative

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

    Should youtube embed video work? I don't seem to get it work in the pen

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

    you are looking at something 17:33, 17:43, 16:19, still, thank you for teaching us free!

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

      He's looking at his notes on a separate screen. Every good professor has notes. You'll see this I school at higher levels. He's discussed this before.

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

    You just helped me a ton brotha, thanks. Also, check out the HP Elite Wireless V2 keyboard. More low pro, quiet keys like a laptop - if you're looking for less clackity-clack.

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

    how can I do so I can have the video on half of the screen and not full screen? I mean from top to bottom half of screen

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

    Many thanks ! From France ! ;)

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

    thanx for the nice video. how is it possible to seemless loop a video without pause or stutter?

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

    Brad, great video! I'm learning so much from you.
    Next time use a mechanical keyboard cause I love the sound of mech keys, thumbs up guys if you agree!

  • @joeyGunz1-w1r
    @joeyGunz1-w1r 4 ปีที่แล้ว

    Why is it that when I put controls they controls are a high z index on top of everything?

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

    good job Brad!!Thanks a lot!Keep going

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

    Thanks bro. Love your vids. Go Pats!

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

    Great video as always! Is there anything that could be added to force the video to be centered always, scaling as needed but filling the screen it has to work with?

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

      Turns out this does it, for anyone else looking.
      position: absolute;
      top: 50%;
      left: 50%;
      transform: translate(-50%, -50%);
      min-width:100%;
      min-height:100%;

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

    Could someone explain the logic behind using two words for a class element and then styling them separately? For example: " which is later styled separately as .v-header and .container. I didn't know that was possible and I am confused. I dont understand what's what.

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

    What when the css file is app.mim and I can't find anything so I can do my changes, or if I unminize what I do after that .
    Can you cover anything about css mim file?
    Thank you

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

    That was a pretty sweet tutorial, man! Just one question, how do you mute the audio? I don't want to hear the keyboard noise from the video.
    Edit: This can be done by adding the muted="false" inside the video src tag.

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

    Amazing work, i have learned a lot from this tutorial.

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

    Another great video from the "Lord of the Flies" (apologies to Golding).

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

    keep up the good work! Appreciate it. It's really helpful.

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

    Brad,
    bloody flies, bloody keyboard! Made me chuckle, will swap for bloody mosquitoes and bloody buffaloes trying to eat my plants.
    West

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

    Hey it might sound silly but what if we use a 4k video? I used a 4k video, and it only shows a little corner of it.

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

    You explain amazingly! Thanks for sharing your knowledge.

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

    How can different screen sizes be handled effectively? With this method, the video is cropped as the screen size gets smaller. Would it be worth the effort to use Javascript to serve different videos for various screen sizes?

  • @_daya.shankar_
    @_daya.shankar_ 5 ปีที่แล้ว

    Hi. Can we show any image for back support till the video load???

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

    Thanks a lot dude! You truly helping us with an amazing content... keep up the good work!

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

    Many thanks Brad great help.

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

    What are the differences between height = 100% and height = 100vh ? Big fan of you since Udemy.

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

    Flies :) I'm from Russia and here three days ago was first snow :) Like this time cuz there's no flies this year till may... Tnx for great content !:)