Grav - Media queries


Advertisements

Description

Using media queries in your attributes, you can use different widths on devices. In this process, you don’t have to create multiple images as they get created automatically. If your browser does not support src set, then it displays the original image.

Example

![](/images/maxresdefault.jpg?derivatives = 320, 1440, 100&sizes = %28max - width % 3A26em % 29 + 100vw % 2C + 50vw)

Output

The above code will generate the following output −

Grav Media
grav_media.htm

Useful Video Courses


Video

Gravitation

19 Lectures 3 hours

Mr. Pradeep Kshetrapal

Video

Class 9th - Gravitation

30 Lectures 4 hours

Priyanka Choudhary

Video

Application Web complète avec ASP .NET CORE 3.1 MVC

55 Lectures 4.5 hours

University Code

Video

How to Develop Gravitas: Be the Voice of Wisdom & Influence

24 Lectures 1 hours

Mike Clayton

Advertisements