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
<picture width="500" height="500"> | |
<source media="(min-width: 45em)" srcset="large-1.jpg 1x, large-2.jpg 2x"> | |
<source media="(min-width: 18em)" srcset="med-1.jpg 1x, med-2.jpg 2x"> | |
<source srcset="small-1.jpg 1x, small-2.jpg 2x"> | |
<img src="small-1.jpg" alt=""> | |
<p>Accessible text</p> | |
</picture> |
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
<picture width="500" height="500"> | |
<source media="(min-width: 769px)" src="large.jpg"> | |
<source media="(min-width: 480px)" src="med.jpg"> | |
<source src="small.jpg"> | |
<img src="small.jpg" alt=""> | |
<p>Accessible text</p> | |
</picture> |
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
div.example { | |
/*add all base styling here*/ | |
} | |
@media only screen and (min-width: 320px) { | |
/*add styling for base smart phones here*/ | |
} | |
@media only screen and (min-width: 480px) { | |
/*add styling for base smart phones in landscape orientation here*/ |
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
<ul> | |
<li><a href="tel:5555555555">Call Me</a></li> | |
<li><a href="mailto:example@email.com?subject=contactform%20submission">Email Me</a></li> | |
<li><a href="sms://5555555555?message=someMessage">Text Me</a></li> | |
</ul> |
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
<!doctype html> | |
<html lang="en"> | |
<head> | |
<meta charset="UTF-8"> | |
<title>Short Page Title</title> | |
</head> | |
<meta name="HandheldFriendly" content="True"> | |
<meta name="MobileOptimized" content="320"> | |
<meta name="viewport" content="width=device-width, initial-scale=1"> | |
<meta http-equiv="cleartype" content="on"> |
NewerOlder