@media only screen and (max-width: 600px) { body { background-color: lightblue; } }/* For desktop: */ .col-1 {width: 8.33%;} .col-2 {width: 16.66%;} .col-3 {width: 25%;} .col-4 {width: 33.33%;} .col-5 {width: 41.66%;} .col-6 {width: 50%;} .col-7 {width: 58.33%;} .col-8 {width: 66.66%;} .col-9 {width: 75%;} .col-10 {width: 83.33%;} .col-11 {width: 91.66%;} .col-12 {width: 100%;} @media only screen and (min-width: 600px) { /* For tablets: */ .col-s-1 {width: 8.33%;} .col-s-2 {width: 16.66%;} .col-s-3 {width: 25%;} .col-s-4 {width: 33.33%;} .col-s-5 {width: 41.66%;} .col-s-6 {width: 50%;} .col-s-7 {width: 58.33%;} .col-s-8 {width: 66.66%;} .col-s-9 {width: 75%;} .col-s-10 {width: 83.33%;} .col-s-11 {width: 91.66%;} .col-s-12 {width: 100%;} } @media only screen and (max-width: 768px) { /* For mobile phones: */ [class*="col-"] { width: 100%; } }The first section will span 3 columns, the second will span 9, and the third section will be displayed below the first two sections, and it will span 12 columns: <div class="row"> <div class="col-3 col-s-3">...</div> <div class="col-6 col-s-9">...</div> <div class="col-3 col-s-12">...</div> </div>
| <article> | Defines an article |
| <aside> | Defines content aside from the page content |
| <audio> | Defines sound content |
| <canvas> | Defines graphics |
| <command> | Defines a command button |
| <datagrid> | Defines data in a tree-list |
| <datalist> | Defines a dropdown list |
| <datatemplate> | Defines a data template |
| <details> | Defines details of an element |
| <dialog> | Defines a dialog (conversation) |
| <embed> | Defines external interactive content or plugin |
| <eventsource> | Defines a target for events sent by a server |
| <figure> | Defines a group of media content, and their caption |
| <footer> | Defines a footer for a section or page |
| <header> | Defines a header for a section or page |
| <mark> | Defines marked text |
| <meter> | Defines measurement within a predefined range |
| <nav> | Defines navigation links |
| <nest> | Defines a nestingpoint in a datatemplate |
| <output> | Defines some types of output |
| <progress> | Defines progress of a task of any kind |
| <rule> | Defines the rules for updating a template |
| <section> | Defines a section |
| <source> | Defines media resources |
| <time> | Defines a date/time |
| <video> | Defines a video |
<!-- "Video For Everybody" v0.4.2 by Kroc Camen of Camen Design <camendesign.com/code/video_for_everybody>
=================================================================================================================== -->
<!-- first try HTML5 playback: if serving as XML, expand `controls` to `controls="controls"` and autoplay likewise -->
<!-- warning: playback does not work on iPad/iPhone if you include the poster attribute! fixed in iOS4.0 -->
<video width="640" height="360" controls>
<!-- MP4 must be first for iPad! -->
<source src="__VIDEO__.MP4" type="video/mp4" /><!-- WebKit video -->
<source src="__VIDEO__.OGV" type="video/ogg" /><!-- Firefox / Opera -->
<!-- fallback to Flash: -->
<object width="640" height="360" type="application/x-shockwave-flash" data="__FLASH__.SWF">
<!-- Firefox uses the `data` attribute above, IE/Safari uses the param below -->
<param name="movie" value="__FLASH__.SWF" />
<param name="flashvars" value="controlbar=over&image=__POSTER__.JPG&file=__VIDEO__.MP4" />
<!-- fallback image. note the title field below, put the title of the video there -->
<img src="__VIDEO__.JPG" width="640" height="360" alt="__TITLE__"
title="No video playback capabilities, please download the video below" />
</object>
</video>
<!-- you *must* offer a download link as they may be able to play the file locally. customise this bit all you want -->
<p> <strong>Download Video:</strong>
Closed Format: <a href="__VIDEO__.MP4">"MP4"</a>
Open Format: <a href="__VIDEO__.OGV">"Ogg"</a>
</p>
document.createElement("foo")
blah (style foo)
Native support for Popovers <button popovertarget="poppinoff">Open</button> <div id="poppinoff" popover> <p>The feature be poppin</p> </div>
The feature be poppin
<form>
<input name="blah" placeholder="blah text">
<input type="submit" value="Search">
</form>
<form>
<input name="blah2"><br />
<input name="blah" autofocus><br />
<input type="submit" value="Search">
</form>
<form>
<input type="email" placeholder="enter email addr"><br />
<input type="url" placeholder="enter url"><br />
<input type="submit" value="Submit">
</form>
<form>
<input type="number"
min="0"
max="20"
step="2"
value="10">
<input type="submit" value="Submit">
</form>
<form>
<input list="colors" />
<datalist id="colors">
<option value="blue">
<option value="green">
<oprion value="orange">
<option value="purple">
<option value="red">
<option value="yellow">
</datalist>
</form>
if (typeof(localStorage) == .undefined. ) {
alert(.Your browser does not support HTML5 localStorage.);
} else {
try {
localStorage.setItem(.name., .Hello World!.); //saves to the
//database, .key.,
//.value.
} catch (e) {
if (e == QUOTA_EXCEEDED_ERR) {
alert(.Quota exceeded!.); //data wasn.t successfully saved due
//to quota exceed so throw an error
}
}
document.write(localStorage.getItem(.name.)); //Hello World!
localStorage.removeItem(.name.); //deletes the matching
//item from the database
}
<fieldset> <legend>legend</legend> in a fieldset... </fieldset>
<details open> <summary>Click To See <p>Hello</p> </details>
Hello
<link rel="preload" href="https://jungar.net/ AJAXDomJavaScript/pq-too.jpg/" as="image" />