CSS Sass
Learn Sass Sass is a CSS pre-processor. Sass reduces repetition of CSS and therefore saves time. Examples in Each Chapter Our “Show Sass” tool makes it easy to learn Sass, it shows both the code and the result. Sass Example…
Learn Sass Sass is a CSS pre-processor. Sass reduces repetition of CSS and therefore saves time. Examples in Each Chapter Our “Show Sass” tool makes it easy to learn Sass, it shows both the code and the result. Sass Example…
Using The width Property If the width property is set to 100%, the video player will be responsive and scale up and down: Example video { width: 100%; height: auto; }
Using The width Property If the width property is set to a percentage and the height property is set to “auto”, the image will be responsive and scale up and down: Example img { width: 100%; height: auto; }
What is a Media Query? Media query is a CSS technique introduced in CSS3. It uses the @media rule to include a block of CSS properties only if a certain condition is true. Example If the browser window is 600px…
What is a Grid-View? Many web pages are based on a grid-view, which means that the page is divided into rows and columns. Using a grid-view is very helpful when designing web pages. It makes it easier to place elements…
What is The Viewport? The viewport is the user’s visible area of a web page. The viewport varies with the device, and will be smaller on a mobile phone than on a computer screen. Before tablets and mobile phones, web…
What is Responsive Web Design? Responsive web design makes your web page look good on all devices. Responsive web design uses only HTML and CSS. Responsive web design is not a program or a JavaScript. Designing For The Best Experience…
Grid Items A grid container contains one or more grid items. By default, a container has one grid item for each column, in each row, but you can style the grid items so that they will span multiple columns and/or…
Grid Container A grid container contains one or more grid items arranged in columns and rows. Direct child elements(s) of the grid container automatically becomes grid items. An element becomes a grid container when its display property is set to…