filmov
tv
27. Working with CSS iframes - Full stack web development Tutorial Course

Показать описание
In this FullStackWebDevelopment tutorial video, We are going to #learn about #iframes using custom #css for the new website.
We are going to build the second column on our web page and put a youtube video in it. The iframe tag specifies an inline frame. An inline frame is used to embed another document within the current HTML document. Here we are going to use the iframe to add an HTML snippet for the youtube video.
After adding the video in the second column container we make our website mobile compatible. To make sure the items inside the column are placed at the proper distance to each other we apply a margin to the div inside which headers and forms are contained not the entire column div, along with some margin-left to the div tag of the second column.
To make the website mobile compatible we override the column style to apply a new style when we are on mobile. We override the width and margin properties of both the column containers by applying a width: 100%; so that it occupies the entire screen space and margin:0; to remove any default margin styling of the browser. We also resize the length of the input text area of username and password and apply rounded corners to them.
To resize the video to mobile view we apply styling to the div container inside which the iframe is placed. We set its position: relative; The element is positioned relative to its normal position and width: 100%; While applying the styling property we should be very very specific about the part of the website we want to style.
----------------------------
Week 1: Day 5
Section 4: Advanced CSS: Building and styling website
Tutorial 27: Working with iframes
----------------------------
Do subscribe and hit Bell Icon
----------------------------
Follow us in social media handles for opportunities and code related support.
----------------------------
Got a question on the topic? Please share it in the comment section below and our experts will answer it for you.
We are going to build the second column on our web page and put a youtube video in it. The iframe tag specifies an inline frame. An inline frame is used to embed another document within the current HTML document. Here we are going to use the iframe to add an HTML snippet for the youtube video.
After adding the video in the second column container we make our website mobile compatible. To make sure the items inside the column are placed at the proper distance to each other we apply a margin to the div inside which headers and forms are contained not the entire column div, along with some margin-left to the div tag of the second column.
To make the website mobile compatible we override the column style to apply a new style when we are on mobile. We override the width and margin properties of both the column containers by applying a width: 100%; so that it occupies the entire screen space and margin:0; to remove any default margin styling of the browser. We also resize the length of the input text area of username and password and apply rounded corners to them.
To resize the video to mobile view we apply styling to the div container inside which the iframe is placed. We set its position: relative; The element is positioned relative to its normal position and width: 100%; While applying the styling property we should be very very specific about the part of the website we want to style.
----------------------------
Week 1: Day 5
Section 4: Advanced CSS: Building and styling website
Tutorial 27: Working with iframes
----------------------------
Do subscribe and hit Bell Icon
----------------------------
Follow us in social media handles for opportunities and code related support.
----------------------------
Got a question on the topic? Please share it in the comment section below and our experts will answer it for you.
Комментарии