Hey There! I have a video section that I want to change the height and width of. On mobile, I like the current size but on desktop the size of the video section is much too big. I would like to make it smaller. Any ideas how to do this?
I love how infrequently these “solutions” work and how everyone offering them is way more concerned with us liking these awful solutions and unclear instructions. Earn it first! Please!
Here’s how you can adjust the height and width of the video section for different devices using HTML and CSS:
Video Section
/* Styles for desktop */
@media screen and (min-width: 768px) {
.video-section {
width: 50%; /* Adjust the width as per your preference */
height: auto; /* Allow the height to adjust proportionally */
}
}
/* Styles for mobile / @media screen and (max-width: 767px) {
.video-section {
width: 100%; / Set to full width on mobile /
height: auto; / Allow the height to adjust proportionally */
}
}
/* Additional styles /
.video-section {
/ Add any other styles you need for the video section */
}