Last active
September 8, 2020 02:46
-
-
Save RichOrElse/e71016f36b931fc60222e7515c897ef0 to your computer and use it in GitHub Desktop.
CSS & HTML examples
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
img { | |
max-width: 100% | |
height: auto; | |
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<html> | |
<head> | |
<link rel="preload" href="/assets/css/application.css" as="style"> | |
</head> | |
<body> | |
<img loading="eager" src="pic.png" /> | |
<picture> | |
<source srcset="img/01.webp" type="image/webp"> | |
<img loading="lazy" src="pic.png" alt=""> | |
</picture> | |
</body> | |
</html> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment