Ask your own question, for FREE!
Computer Science 22 Online
NvidiaIntely:

Which Operating System is the fastest in the world?

Ultrilliam:

That cannot be said for certain, as this statistic changes with hundred of tens of thousands of variables, some of those variables can have trillions of different values.

ILovePuppiesLol:

As of June 2016, the fastest supercomputer in the world is the Sunway TaihuLight, in mainland China, with a Linpack benchmark of 93 PFLOPS, exceeding the previous record holder, Tianhe-2, by around 59 PFLOPS. It tops the rankings in the TOP500 supercomputer list.

ILovePuppiesLol:

idk i found it on wiki

Ultrilliam:

that is not a OS, that is a computer puppies xD

joshiscool:

<!doctype html> <html> <head> <meta charset="utf-8"> <meta http-equiv="X-UA-Compatible" content="IE=edge"> <meta name="viewport" content="width=device-width, initial-scale=1.0"> <title>Mocha Test Runner</title> <link rel="stylesheet" href="../node_modules/mocha/mocha.css"> <link rel="stylesheet" href="../dist/material.css"> </head> <body> <div id="mocha"></div> <script src="../node_modules/jquery/dist/jquery.js"></script> <script src="../node_modules/mocha/mocha.js"></script> <script src="../node_modules/chai/chai.js"></script> <script src="../node_modules/chai-jquery/chai-jquery.js"></script> <!-- <script src="../js/material.js"></script> --> <!-- The following components rely on the requestAnimFrame shim (incomplete list): --> <!-- menu --> <script src="../src/third_party/rAF.js"></script> <script> // Only necessary for PhantomJS 1.x Function.prototype.bind = Function.prototype.bind || function(to){ // Make an array of our arguments, starting from second argument var partial = Array.prototype.splice.call(arguments, 1), // We'll need the original function. fn = this; var bound = function (){ // Join the already applied arguments to the now called ones (after converting to an array again). var args = partial.concat(Array.prototype.splice.call(arguments, 0)); // If not being called as a constructor if (!(this instanceof bound)){ // return the result of the function called bound to target and partially applied. return fn.apply(to, args); } // If being called as a constructor, apply the function bound to self. fn.apply(this, args); } // Attach the prototype of the function to our newly created function. bound.prototype = fn.prototype; return bound; }; </script> <script src="../dist/material.js"></script> <script> // mocha.ui('bdd'); mocha.setup('bdd'); mocha.reporter('html'); // use chais-implementation of "expect" expect = chai.expect; </script> <!-- Specifications --> <!--<script src="test.spec.js"></script>--> <script src="unit/componentHandler.js"></script> <script src="unit/button.js"></script> <script src="unit/checkbox.js"></script> <script src="unit/data-table.js"></script> <script src="unit/icon-toggle.js"></script> <script src="unit/layout.js"></script> <script src="unit/progress.js"></script> <script src="unit/radio.js"></script> <script src="unit/ripple.js"></script> <script src="unit/slider.js"></script> <script src="unit/snackbar.js"></script> <script src="unit/spinner.js"></script> <script src="unit/switch.js"></script> <script src="unit/tabs.js"></script> <script src="unit/textfield.js"></script> <script src="unit/tooltip.js"></script> <script src="unit/menu.js"></script> <script> window.addEventListener('load', function () { if (window.mochaPhantomJS) { mochaPhantomJS.run(); } else { mocha.run(); } }); </script> </body> </html> {% extends 'layout.html' %} {% block content %} {% for template in page.templates %} <section class="template template--{{ template.name }} docs-text-styling mdl-grid mdl-cell mdl-cell--12-col"> <img src="{{page.include_prefix}}assets/templates/{{ template.name }}.jpg" srcset="{{page.include_prefix}}assets/templates/{{ template.name }}.jpg 1x, {{page.include_prefix}}assets/templates/{{ template.name }}_2x.jpg 2x" class="template__preview mdl-cell mdl-cell--8-col"> <div class="template__meta mdl-cell mdl-cell--4-col mdl-grid mdl-grid--no-spacing"> <h3 class="template__header mdl-cell mdl-cell--12-col mdl-typography--body-2">{{ template.title }}</h3> <p class="mdl-cell mdl-cell--12-col"> {{ template.description }} </p> <a href="$$hosted_libs_prefix$$/$$version$$/$$template_archive_prefix$${{ template.name }}.zip" class="mdl-cell mdl-cell--6-col-desktop mdl-cell--4-col-tablet mdl-cell--2-col-phone"> <button class="mdl-button mdl-js-button mdl-js-ripple-effect mdl-button--icon"> <i class="material-icons">file_download</i> </button> Download </a> <a href="{{page.include_prefix}}templates/{{ template.name }}/index.html" target="_blank" class="mdl-cell mdl-cell--6-col-desktop mdl-cell--4-col-tablet mdl-cell--2-col-phone"> <button class="mdl-button mdl-js-button mdl-js-ripple-effect mdl-button--icon"> <i class="material-icons">arrow_forward</i> </button> Preview </a> </div> </section> {% endfor %} {% endblock %} {% block content %} {{content|safe}} {% endblock %} {% extends 'layout.html' %} {% block content %} <link href="{{page.include_prefix}}assets/components.css" rel="stylesheet"> <script src="{{page.include_prefix}}assets/snippets.js"></script> <script src="{{page.include_prefix}}assets/components.js"></script> <link rel="stylesheet" href="{{page.include_prefix}}components/demos.css"> <div class="mdl-components mdl-js-components mdl-cell mdl-cell--12-col"> <aside class="mdl-components__nav docs-text-styling mdl-shadow--4dp"> {% for category in page.categories %} <a href="#{{ category.name }}-section" class="mdl-components__link mdl-component {{ category.name }}"> <div class="mdl-components__link-image" style="background-image: url('{{page.include_prefix}}assets/comp_{{ category.name }}.png')"> </div> <span class="mdl-components__link-text">{{ category.title }}</span> </a> {%- endfor %} </aside> <main class="mdl-components__pages"> <section id="index-section" class="mdl-components-index mdl-components__page"> <div class="mdl-components-index-text mdl-grid"> <div class="mdl-components-text docs-text-styling about-panel about-panel--text mdl-cell mdl-cell--12-col"> <dl class="mdl-components-dl"> <dt class="mdl-components-dt">COMPONENTS</dt> <dd class="mdl_components-dd"> Material Design Lite (MDL) is a library of components for web developers based on Google's Material Design Philosophy: "A visual language for our users that synthesizes the classic principles of good design with the innovation and possibility of technology and science." Understanding the goals and principles of Material Design is critical to the proper use of the Material Design Lite components. If you have not yet read the <a href="http://www.google.com/design/spec/material-design/introduction.html">Material Design Introduction</a> you should do so before attempting to use the components. </dd> </dl> </div> </div> <div class="mdl-components-img"></div> </section> {% for category in page.categories -%} <section id="{{ category.name }}-section" class="mdl-components__page mdl-grid"> <div class="mdl-cell mdl-cell--12-col"> <div class="docs-text-styling component-title"> <h3>{{ category.title }}</h3> <p>{{ category.description }}</p> </div> {% if category.components.length > 1 %} <section class="docs-toc docs-text-styling"> <nav class="section-content"> <ul> {% for component in category.components %} <li><a href="#{{ category.name }}-section/{{ component.name }}">{{ component.caption }}</a></li> {%- endfor %} </ul> </nav> </section> {%- endif %} {% for component in category.components %} {% if component.caption %} <span class="docs-text-styling"> <h1 class="mdl-components__classname" id="{{ category.name }}-section/{{ component.name }}">{{ component.caption }}</h1> </span> {%- endif %} <!-- Add warning, if the component has one --> {% if component.warning %} <div class="mdl-components__warning"><b>Note: </b>{{ component.warning }}</div> {%- endif %} <!-- Generating snippets --> {% for snippet_group in component.snippets %} {% set snippet_group["component_name"] = component.name %} {% include "./snippets.html" with snippet_group only %} {%- endfor %} <!-- Adding the demo page --> {% set demo_css = "../../dist/components/" + component.name + "/demo.css" %} <style> {% include demo_css ignore missing %} </style> {% set demo_js = "../../dist/components/" + component.name + "/demo.js" %} <script> {% include demo_js ignore missing %} </script> {% set demo = "../../src/" + component.name + "/demo.html" %} {% include demo ignore missing %} <div class="docs-text-styling docs-readme"> {% set doc = "../../dist/components/" + component.name + "/index.html" %} {% include doc ignore missing %} </div> {%- endfor %} </div> </section> {%- endfor %} </main> </div> {% endblock %} {% extends 'layout.html' %} {% block content %} <link rel="stylesheet" href="{{page.include_prefix}}assets/customizer.css"> <div class="mdl-gen mdl-cell mdl-cell--12-col"> <div class="mdl-grid"> <div class="mdl-gen__panel mdl-gen__panel--left mdl-cell mdl-cell--6-col-desktop mdl-cell--8-col"> <div id="wheel"> <svg xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink"> <defs> <filter id="drop-shadow"> <feGaussianBlur in="SourceAlpha" stdDeviation="3.2" /> <feOffset dx="0" dy="0" result="offsetblur" /> <feFlood flood-color="rgba(0,0,0,1)" /> <feComposite in2="offsetblur" operator="in" /> <feMerge> <feMergeNode /> <feMergeNode in="SourceGraphic" /> </feMerge> </filter> </defs> <g class="wheel--maing"></g> </svg> <div class="mdl-gen-download"> <a href="#" id="download" class="mdl-button mdl-js-button mdl-button--raised mdl-js-ripple-effect mdl-button--fab"><i class="material-icons">file_download</i></a> </div> </div> </div> <div class="mdl-gen__panel--right mdl-gen__panel mdl-cell mdl-cell--6-col-desktop mdl-cell--8-col"> <div class="mdl-gen__desc docs-text-styling"> <strong>Custom CSS theme builder</strong> <p>Click on the color wheel to choose a primary (1) and accent (2) color to preview the theme below. When you’ve selected a color combination you like, either reference our <a href="#cdn-code">hosted CSS</a> or download the CSS by clicking the white button in the middle. You will need to include MDL’s JavaScript alongside your customised CSS to get the full experience. This is included in our default Download from the <a href="../started/index.html#download">Getting Started guide</a>.</p> </div> <div class="mdl-gen__preview"> <div class="mdl-layout mdl-js-layout mdl-layout--fixed-header"> <header class="mdl-layout__header"> <svg class="mdl-layout-icon" width="411px" height="406px" viewBox="0 0 411 406" version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink"> <g stroke="none" stroke-width="1" fill="none" fill-rule="evenodd"> <g transform="translate(-51.000000, -54.000000)" fill="currentColor"> <path d="M253.532807,381.627 L205.905373,459.1512 L75.2987939,365.2047 L137.208794,290.0547 L51,265.8834 L100.217083,116.7498 L183.176447,150.0543 L176.402456,54 L337.901996,54 L331.203531,149.0202 L409.306732,116.4465 L461.243662,265.7448 L371.760263,290.7036 L429.826513,365.6628 L302.333596,459.2493 L253.532807,381.627 Z M222.176831,106.2 L291.098533,106.2 L282.729084,224.796484 L383.182429,182.939488 L404.947387,245.446521 L297.795289,275.304737 L368.114228,365.995226 L313.701833,405.9 L252.592681,308.789934 L192.876775,405.9 L137.348587,365.995226 L212.130699,275.304737 L105.539492,245.446521 L126.18666,182.939488 L230.548276,224.796484 L222.176831,106.2 Z"></path> </g> </g> </svg> <div class="mdl-layout__header-row"> <span class="mdl-layout-title">Theme Preview</span> </div> </header> <div class="mdl-layout__drawer"> <span class="mdl-layout-title">Theme Preview</span> <nav class="mdl-navigation"> <a class="mdl-navigation__link" href="#">Some</a> <a class="mdl-navigation__link" href="#">Links</a> <a class="mdl-navigation__link" href="#">Here</a> </nav> </div> <main class="mdl-layout__content"> <h3>Try it out</h3> <p> Lorem ipsum dolor sit amet. </p> <button class="mdl-button mdl-button--colored mdl-button--raised mdl-js-button mdl-js-ripple-effect">BUTTON</button> <button class="mdl-button mdl-js-button mdl-button--fab mdl-button--colored mdl-js-ripple-effect"> <i class="material-icons">email</i> </button> </main> </div> </div> </div> <div class="mdl-gen__cdn mdl-cell mdl-cell--12-col"> <div class="code-with-text" id="cdn-code"> CSS hosted on our CDN (17.6kB gzipped): <pre class="demo-code language-markup codepen-button-disabled"><code class="language-markup mdl-gen__cdn-link" data-language="markup"> &lt;link rel="stylesheet" href="$$hosted_libs_prefix$$/$$version$$/material.$primary-$accent.min.css" /&gt; </code></pre> </div> </div> </div> </div> <script src="{{page.include_prefix}}assets/customizer.js"></script> <script>init();</script> {% endblock %} <!doctype html> <html lang="en"> <head> <meta charset="utf-8"> <meta http-equiv="X-UA-Compatible" content="IE=edge"> <meta name="description" content="A front-end template that helps you build fast, modern mobile web apps."> <meta name="viewport" content="width=device-width, initial-scale=1"> <title>{{ page.component }} test</title> <!-- Fonts --> <link href='https://fonts.googleapis.com/css?family=Roboto:regular,bold,italic,thin,light,bolditalic,black,medium&amp;lang=en' rel='stylesheet' type='text/css'> <link href="https://fonts.googleapis.com/icon?family=Material+Icons" rel="stylesheet"> <!-- Page styles --> <link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/prism/0.0.1/prism.min.css"> <link rel="stylesheet" href="{{page.include_prefix}}material.min.css"> <link rel="stylesheet" href="{{page.include_prefix}}components/demos.css"> <script src="{{page.include_prefix}}material.min.js"></script> {% set demo_css = "../../dist/components/" + page.component + "/demo.css" %} <style> {% include demo_css ignore missing %} </style> </head> <body> <div style="padding-top: 24px;"> {% block content %} {{content|safe}} {% endblock %} </div> <!-- Built with love using Material Design Lite --> {% set demo_js = "../../dist/components/" + page.component + "/demo.js" %} <script> {% include demo_js ignore missing %} </script> </body> </html> <!doctype html> <html lang="en"> <head> <meta charset="utf-8"> <meta http-equiv="X-UA-Compatible" content="IE=edge"> <meta name="description" content="A front-end template that helps you build fast, modern mobile web apps."> <meta name="viewport" content="width=device-width, initial-scale=1.0, minimum-scale=1.0"> <title>Material Design Lite</title> <!-- Add to homescreen --> <link rel="manifest" href="manifest.json"> <!-- Fallback to homescreen for Chrome <39 on Android --> <meta name="mobile-web-app-capable" content="yes"> <meta name="application-name" content="Material Design Lite"> <link rel="icon" sizes="192x192" href="{{page.include_prefix}}assets/android-desktop.png"> <!-- Add to homescreen for Safari on iOS --> <meta name="apple-mobile-web-app-capable" content="yes"> <meta name="apple-mobile-web-app-status-bar-style" content="black"> <meta name="apple-mobile-web-app-title" content="Material Design Lite"> <link rel="apple-touch-icon" href="{{page.include_prefix}}assets/ios-desktop.png"> <!-- TODO: Tile icon for Win8 (144x144 + tile color) --> <!-- <meta name="msapplication-TileImage" content="images/touch/ms-touch-icon-144x144-precomposed.png"> --> <!-- <meta name="msapplication-TileColor" content="#3372DF"> --> <meta name="theme-color" content="#263238"> <link rel="shortcut icon" href="{{page.include_prefix}}assets/favicon.png"> <!-- SEO: If your mobile URL is different from the desktop URL, add a canonical link to the desktop page https://developers.google.com/webmasters/smartphone-sites/feature-phones --> <!-- <link rel="canonical" href="http://www.example.com/"> --> <!-- Page styles --> <link rel="stylesheet" href="{{page.include_prefix}}assets/prism-default.css"> <link rel="stylesheet" href="{{page.include_prefix}}material.min.css"> <link rel="stylesheet" href="{{page.include_prefix}}assets/main.css"> <!-- Fonts --> <link href='https://fonts.googleapis.com/css?family=Roboto:regular,bold,italic,thin,light,bolditalic,black,medium&amp;lang=en' rel='stylesheet' type='text/css'> <link href="https://fonts.googleapis.com/icon?family=Material+Icons" rel="stylesheet"> </head> <body class="{{page.bodyclass}}"> <!-- Google ***ytics: change UA-XXXXX-X to be your site's ID --> <script> // if (document.location.hostname !== 'localhost' && // document.location.hostname !== '127.0.0.1' && // document.location.hostname.search('.corp.') === -1) { (function(i,s,o,g,r,a,m){i=r;i[r]=i[r]||function(){ (i[r].q=i[r].q||[]).push(arguments)},i[r].l=1*new Date();a=s.createElement(o), m=s.getElementsByTagName(o)[0];a.async=1;a.src=g;m.parentNode.insertBefore(a,m) })(window,document,'script','//www.google-***ytics.com/***ytics.js','ga'); ga('create', 'UA-25993200-9', 'auto'); // If a specific component page is loaded directly we'll attribute the // page view to the specific component's page if (window.location.pathname.indexOf('/components/') !== -1 && window.location.hash.indexOf('-section') !== -1) { ga('send', 'pageview', '/components/' + window.location.hash.split('#')[1].split('/')[0]); } else { ga('send', 'pageview'); } // } // Setup error tracking before anything else runs. window.onerror = function(message, file, lineNumber, columnNumber, error) { try { if (error !== undefined) { message = error.stack; } ga('send', 'event', 'error', file + ':' + lineNumber, String(message)); } catch (e) { // no-op } }; </script> <div class="image-preloader"></div> <div class="docs-layout mdl-layout mdl-js-layout"> <header class="docs-layout-header mdl-layout__header"> <div class="mdl-layout__header-row"> <span class="docs-layout-title mdl-layout-title"><a href="{{page.include_prefix}}">Material<br>Design<br>Lite</a></span> </div> <div class="docs-navigation__container"> <nav class="docs-navigation mdl-navigation"> <a href="{{page.include_prefix}}index.html" class="mdl-navigation__link about">About</a> <a href="{{page.include_prefix}}started/index.html" class="mdl-navigation__link started">Getting Started</a> <a href="{{page.include_prefix}}templates/index.html" class="mdl-navigation__link templates">Templates</a> <a href="{{page.include_prefix}}components/index.html" class="mdl-navigation__link components">Components</a> <a href="{{page.include_prefix}}styles/index.html" class="mdl-navigation__link styles">Styles</a> <a href="{{page.include_prefix}}customize/index.html" class="mdl-navigation__link customize">Customize</a> <a href="{{page.include_prefix}}showcase/index.html" class="mdl-navigation__link showcase">Showcase</a> <a href="{{page.include_prefix}}faq/index.html" class="mdl-navigation__link faq">FAQ</a> <div class="spacer"></div> <a href="https://github.com/google/material-design-lite" class="mdl-navigation__link mdl-navigation__link--icon github"><i class="material-icons">link</i><span>GitHub</span></a> <a href="{{page.include_prefix}}started/index.html#download" class="mdl-navigation__link mdl-navigation__link--icon download"> <i class="material-icons">&#xE2C4;</i><span>Download</span> <button class="mdl-button mdl-js-button mdl-js-ripple-effect mdl-button--fab mdl-button--mini-fab mdl-color--lime-A200"> <i class="material-icons">&#xE2C4;</i> </button> </a> </nav> </div> <i class="material-icons scrollindicator scrollindicator--right">&#xE315;</i> <i class="material-icons scrollindicator scrollindicator--left">&#xE314;</i> </header> <main class="docs-layout-content mdl-layout__content mdl-color-text--grey-600"> <div class="content mdl-grid mdl-grid--no-spacing" id="content"> <div class="subpageheader mdl-cell--12-col">{{page.title}}</div> {% block content %} {{content|safe}} {% endblock %} </div> <section class="docs-text-styling download mdl-color--grey-800"> <a href="{{page.include_prefix}}started/index.html#download" class="mdl-color-text--grey-50">Download Kit</a> </section> <footer class="docs-text-styling docs-footer mdl-mini-footer mdl-color--grey-900"> <ul> <li class="mdl-mini-footer--social-btn"> <a href="https://twitter.com/googledesign" class="social-btn social-btn__twitter" role="button" title="Twitter"></a> </li> <li class="mdl-mini-footer--social-btn"> <a href="https://github.com/google/material-design-lite" class="social-btn social-btn__github" role="button" title="GitHub"></a> </li> <li class="mdl-mini-footer--social-btn"> <a href="https://plus.google.com/+googledesign" class="social-btn social-btn__gplus" role="button" title="Google+"></a> </li> </ul> <ul class="docs-link-list"> <li><a class="mdl-color-text--grey-600" href="https://developers.google.com/web/starter-kit/">Web Starter Kit</a></li> <li><a class="mdl-color-text--grey-600" href="https://github.com/google/material-design-lite/issues">Help</a></li> </ul> </footer> </main> </div> <!-- IE Compatibility shims --> <!--[if lt IE 9]> <script src="//cdnjs.cloudflare.com/ajax/libs/html5shiv/3.7.2/html5shiv.min.js""></script> <![endif]--> <!--[if IE]> <script src="//cdnjs.cloudflare.com/ajax/libs/es5-shim/4.1.7/es5-shim.min.js"></script> <script src="//cdnjs.cloudflare.com/ajax/libs/classlist/2014.01.31/classList.min.js"></script> <script src="//cdnjs.cloudflare.com/ajax/libs/selectivizr/1.0.2/selectivizr-min.js"></script> <script src="//cdnjs.cloudflare.com/ajax/libs/flexie/1.0.3/flexie.min.js"></script> <link href="{{page.include_prefix}}assets/ie.css" rel="stylesheet"> <![endif]--> <!-- end shims --> <!-- Material Design Lite --> <script src="{{page.include_prefix}}material.min.js"></script> <!-- Add Copy-to-CodePen buttons to code blocks --> <script src="{{page.include_prefix}}assets/codepen.js"></script> <!-- Enable Prism syntax highlighting --> <script src="{{page.include_prefix}}assets/prism.js"></script> <script src="{{page.include_prefix}}assets/prism-markup.min.js"></script> <script src="{{page.include_prefix}}assets/prism-javascript.min.js"></script> <script src="{{page.include_prefix}}assets/prism-css.min.js"></script> <script src="{{page.include_prefix}}assets/prism-bash.min.js"></script> <script src="{{page.include_prefix}}assets/main.js"></script> <!-- Built with love using Material Design Lite --> </body> </html> {% extends 'layout.html' %} {% block content %} {{content|safe}} {% endblock %} {% extends 'layout.html' %} {% block content %} {{content|safe}} {% for template in page.sites %} <section class="template template--{{ template.name }} docs-text-styling mdl-grid mdl-cell mdl-cell--12-col"> <img src="{{page.include_prefix}}assets/showcase/{{ template.name }}.jpg" srcset="{{page.include_prefix}}assets/showcase/{{ template.name }}.jpg 1x, {{page.include_prefix}}assets/showcase/{{ template.name }}_2x.jpg 2x" class="template__preview mdl-cell mdl-cell--8-col"> <div class="template__meta mdl-cell mdl-cell--4-col mdl-grid mdl-grid--no-spacing"> <h3 class="template__header mdl-cell mdl-cell--12-col mdl-typography--body-2">{{ template.title }}</h3> <p class="mdl-cell mdl-cell--12-col"> {{ template.description }} </p> <a href="{{page.include_prefix}}assets/showcase/{{ template.name }}_2x.jpg" class="mdl-cell mdl-cell--6-col-desktop mdl-cell--4-col-tablet mdl-cell--2-col-phone"> <button class="mdl-button mdl-js-button mdl-js-ripple-effect mdl-button--icon"> <i class="material-icons">image</i> </button> Screenshot </a> <a href="{{ template.url }}" target="_blank" class="mdl-cell mdl-cell--6-col-desktop mdl-cell--4-col-tablet mdl-cell--2-col-phone"> <button class="mdl-button mdl-js-button mdl-js-ripple-effect mdl-button--icon"> <i class="material-icons">arrow_forward</i> </button> Visit </a> </div> </section> {% endfor %} {% endblock %} {% if snippet_group.length === 1 && snippet_group[0].full_width %} <div class="snippet-group is-full-width"> {% else %} <div class="snippet-group"> {% endif %} <div class="snippet-header"> <div class="snippet-demos"> <div class="snippet-demo-padding"></div> {% for snippet in snippet_group %} {% if snippet.demo_file %} {% set snippet_file = "../../src/" + component_name + "/snippets/" + snippet.demo_file %} {% else %} {% set snippet_file = "../../src/" + component_name + "/snippets/" + snippet.file %} {% endif %} <div class="snippet-demo"> <div class="snippet-demo-container demo-{{component_name}} demo-{{component_name}}__{{snippet.file | replace('.html', '')}}"> {% include snippet_file ignore missing %} </div> </div> {%- endfor %} <div class="snippet-demo-padding"></div> </div> <div class="snippet-captions"> <div class="snippet-caption-padding"></div> {% for snippet in snippet_group %} <div class="snippet-caption"> {{ snippet.caption }} </div> {%- endfor %} <div class="snippet-caption-padding"></div> </div> </div> <div class="snippet-code"> <pre class="language-markup codepen-button-enabled">{% for snippet in snippet_group %}{% set snippet_file = "../../src/" + component_name + "/snippets/" + snippet.file %}<code id="{{ component_name }}/{{ snippet.file }}">{% filter e('html') %}{% include snippet_file ignore missing %}{% endfilter %}</code><div class="codepen-extra-css">&lt;style&gt;{% set extra_css_file = "../../src/" + component_name + "/snippets/" + snippet.extra_codepen_css %}{% include extra_css_file ignore missing %}&lt;/style&gt;</div>{%- endfor %}{% if snippet_group.length !== 1 || !snippet_group[0].full_width %}<div class="codepen-extra-css">&lt;style&gt; body { padding: 20px; background: #fafafa; position: relative; } &lt;/style&gt;</div>{% endif %}<form class="codepen-button" action="https://codepen.io/pen/define" method="POST" target="_blank"></form></pre> </div> </div> {% extends 'layout.html' %} {% block content %} <script src="{{page.include_prefix}}assets/snippets.js"></script> <div class="docs-text-styling"> <section class="docs-toc"> <h3>Contents</h3> <nav class="section-content"> <ul> <li><a href="#download">Include the master CSS &amp; JavaScript</a></li> <li><a href="#use-components">Use the components</a></li> <li><a href="#general-rules">General rules and principles</a></li> <li><a href="#dynamic">Use MDL on dynamic websites</a></li> <li><a href="#responsibilities">What are MDL's responsibilities?</a></li> <li><a href="#whats-next">What's next?</a></li> <li><a href="#license">License</a></li> </ul> </nav> </section> <section id="download"> <h3>Include the master CSS &amp; JavaScript</h3> <div class="section-content"> <p> Include the Material Lite CSS and JavaScript files in each HTML page in your project. We recommend that you use the <strong>files hosted on our CDN</strong>. You can also <strong>customize and download</strong> them to host them yourself, <strong>build</strong> them from our source code or install them in your <strong>npm</strong>/<strong>Bower</strong> project. </p> <div class="mdl-tabs mdl-js-tabs"> <div class="mdl-tabs__tab-bar"> <a href="#tab1" class="mdl-tabs__tab is-active">Hosted</a> <a href="#tab2" class="mdl-tabs__tab">Download</a> <a href="#tab3" class="mdl-tabs__tab">Build</a> <a href="#tab4" class="mdl-tabs__tab">Bower</a> <a href="#tab5" class="mdl-tabs__tab">npm</a> </div> <div class="mdl-tabs__panel is-active" id="tab1"> <div class="code-with-text"> Just add the following <code>&lt;link&gt;</code> and <code>&lt;script&gt;</code> elements into your HTML pages (27kB gzipped): <pre class="language-markup"><code>&lt;link rel="stylesheet" href="https://fonts.googleapis.com/icon?family=Material+Icons"&gt; &lt;link rel="stylesheet" href="$$hosted_libs_prefix$$/$$version$$/material.indigo-pink.min.css"&gt; &lt;script defer src="$$hosted_libs_prefix$$/$$version$$/material.min.js"&gt;&lt;/script&gt;</code></pre> </div> <h4>Choose color scheme</h4> <p> <a href="http://www.google.com/design/spec/style/color.html">Color schemes used in Material Design</a> are based on a primary and an accent colors which you may want to personalize. These colors are specified in the CSS file name by following this pattern: <code>material.{primary}-{accent}.min.css</code> (e.g. <code>material.indigo-pink.min.css</code>). Our CDN hosts a number of color combinations based on common Material Design colors. To discover and preview available color combinations use our <a href="../customize/index.html">Customize and Preview tool</a>. </p> </div> <div class="mdl-tabs__panel" id="tab2"> <p> Download the minified CSS and Javascript now (27kB gzipped): </p> <div class="download-button-container"> <a href="$$hosted_libs_prefix$$/$$version$$/mdl.zip"> <button class="mdl-button mdl-js-button mdl-button--raised mdl-js-ripple-effect"> Download MDL v$$version$$ </button> </a> </div> <div class="code-with-text"> Refer to these files by adding a <code>&lt;link&gt;</code> and a <code>&lt;script&gt;</code> elements into your HTML pages and also include the Material Icon font: <pre class="language-markup"><code>&lt;link rel="stylesheet" href="./material.min.css"&gt; &lt;script src="./material.min.js"&gt;&lt;/script&gt; &lt;link rel="stylesheet" href="https://fonts.googleapis.com/icon?family=Material+Icons"&gt;</code></pre> </div> <h4>Choose color scheme</h4> <p> <a href="http://www.google.com/design/spec/style/color.html">Color schemes used in Material Design</a> are based on a primary and an accent colors which you may want to personalize. Use the <a href="../customize/index.html">Customize and Preview tool</a> to select and preview primary and accent colors combinations for your site. Then download your customized Material Design Lite CSS using the button and simply replace the `material.min.css` with the customized one. </p> </div> <div class="mdl-tabs__panel" id="tab3"> <p> Our source code is hosted <a href="https://github.com/google/material-design-lite">on GitHub</a>. You'll need to download the code and build it. </p> <div class="code-with-text"> Run the following commands in a shell: <pre class="language-bash"><code># Clone/copy the Material Design lite source code. git clone https://github.com/google/material-design-lite.git # Go into the newly created folder containing the source code. cd material-design-lite # Install necessary dependencies. npm install && npm install -g gulp # Build a production version of the components. gulp</code></pre> </div> <p>You'll find the Material Design Lite library's file in the <code>dist</code> folder. Copy them to your project. </p> <div class="code-with-text"> Refer to these files by adding a <code>&lt;link&gt;</code> and a <code>&lt;script&gt;</code> element into your HTML pages and also include the Material Icon font: <pre class="language-markup"><code>&lt;link rel="stylesheet" href="./material.min.css"&gt; &lt;script src="./material.min.js"&gt;&lt;/script&gt; &lt;link rel="stylesheet" href="https://fonts.googleapis.com/icon?family=Material+Icons"&gt;</code></pre> </div> <div class="caption"> <h4> Note: </h4> Using this method you will not be able to customize the color scheme of the MDL elements. If you'd like to customize the color scheme prefer the CDN hosted or downloadable libraries. In this case use our <a href="../customize/index.html">Customize and Preview tool</a>. </div> </div> <div class="mdl-tabs__panel" id="tab4"> <p> Simply install Material Design Lite files in your <a href="http://bower.io/">Bower</a> enabled project using: </p> <div class="code-with-text"> Run the following command in a shell: <pre class="language-bash"><code>bower install material-design-lite --save</code></pre> </div> <p> This will install the Material Design Lite library files in your project's <code>bower_components</code> folder. </p> <div class="code-with-text"> Refer to these files by adding a <code>&lt;link&gt;</code> and a <code>&lt;script&gt;</code> element into your HTML pages and also include the Material Icon font: <pre class="language-markup"><code>&lt;link rel="stylesheet" href="/bower_components/material-design-lite/material.min.css"&gt; &lt;script src="/bower_components/material-design-lite/material.min.js"&gt;&lt;/script&gt; &lt;link rel="stylesheet" href="https://fonts.googleapis.com/icon?family=Material+Icons"&gt;</code></pre> </div> <div class="caption"> <h4> Note: </h4> Using this method you will not be able to customize the color scheme of the MDL elements. If you'd like to customize the color scheme prefer the CDN hosted or downloadable libraries. In this case use our <a href="../customize/index.html">Customize and Preview tool</a>. </div> </div> <div class="mdl-tabs__panel" id="tab5"> <p> Simply install Material Design Lite files in your <a href="https://www.npmjs.com/">npm</a> enabled project using: </p> <div class="code-with-text"> Run the following command in a shell: <pre class="language-bash"><code>npm install material-design-lite --save</code></pre> </div> <p> This will install the Material Design Lite library files in your project's <code>node_modules</code> folder. </p> <div class="code-with-text"> Refer to these files by adding a <code>&lt;link&gt;</code> and a <code>&lt;script&gt;</code> element into your HTML pages and also include the Material Icon font: <pre class="language-markup"><code>&lt;link rel="stylesheet" href="/node_modules/material-design-lite/material.min.css"&gt; &lt;script src="/node_modules/material-design-lite/material.min.js"&gt;&lt;/script&gt; &lt;link rel="stylesheet" href="https://fonts.googleapis.com/icon?family=Material+Icons"&gt;</code></pre> </div> <div class="caption"> <h4> Note: </h4> Using this method you will not be able to customize the color scheme of the MDL elements. If you'd like to customize the color scheme prefer the CDN hosted or downloadable libraries. In this case use our <a href="../customize/index.html">Customize and Preview tool</a>. </div> </div> </div> <p> That's it! You are now ready to add MDL components on your site. </p> </div> </section> <section id="use-components"> <h3>Use the components</h3> <div class="section-content"> <p> You'll find below a couple of examples of MDL <a href="../components/index.html#buttons-section">Button</a> elements: a Button with ripples and a FAB Button. Just copy &amp; paste the corresponding source code in the <code>&lt;body&gt;</code> of an HTML page of your project and the elements will render as shown below. </p> <!-- Generating snippets --> {% for snippet_group in page.snippets %} {% include "./snippets.html" with snippet_group only %} {%- endfor %} <p> MDL elements can be tweaked and configured by adding CSS classes. For example adding <code>mdl-js-ripple-effect</code> to an MDL <a href="../components/index.html#buttons-section">Button</a> will add a Ripple effect when the button is clicked and adding <code>mdl-button--fab</code> will change the style of the button to a FAB button. </p> <p> There are many other elements available such as <a href="../components/index.html#cards-section">Card containers</a>, <a href="../components/index.html#sliders-section">Sliders</a>, <a href="../components/index.html#tables-section">Tables</a>, <a href="../components/index.html#menus-section">Menus</a>... For the complete set of MDL elements and options have a look at the <a href="../components/index.html">components</a> page. </p> <p> We also recommend that you check out our <a href="../templates/index.html">templates</a>. These are ready to use website templates using MDL components. Feel free to have a look at them to get started quickly on your next project. </p> </div> </section> <section id="general-rules"> <h3>General rules and principles</h3> <div class="section-content"> <p> In general, follow these basic steps to use an MDL component in your HTML page: </p> <ol> <li>Start with a standard HTML element, such as <code>&lt;button&gt;</code>, <code>&lt;div&gt;</code>, or <code>&lt;ul&gt;</code>, depending on the MDL component you want to use. This establishes the element in the page and readies it for MDL modification.</li> <li>Add one or more MDL-specific CSS classes to the element, such as <code>mdl-button</code> or <code>mdl-tabs__panel</code>, again depending on the component. The classes apply the MDL enhancements to the element and turn it into an MDL component.</li> </ol> <p> Remember to include the <a href="https://developers.google.com/speed/docs/insights/ConfigureViewport">meta viewport</a> tag in your document so mobile devices will render correctly. </p> <pre class="language-markup"><code>&lt;meta name="viewport" content="width=device-width, initial-scale=1.0"></code></pre> <div class="caption"> <h4> A note about HTML elements and MDL CSS classes </h4> Material Design Lite uses namespaced <a href="https://en.bem.info/method/">BEM</a> classes—which can apply to almost any HTML element—to construct components. For some components you can use almost any element. The examples in <a href="../components/index.html">each component's documentation</a> use elements that perform well as that component. If you must use elements other than those shown in the examples, we encourage you to experiment to find the best combination of HTML elements and MDL CSS classes for your application. </div> </div> </section> <section id="dynamic"> <h3>Use MDL on dynamic websites</h3> <div class="section-content"> <p> Material Design Lite will automatically register and render all elements marked with MDL classes upon page load. However in the case where you are creating DOM elements dynamically you need to register new elements using the <code>upgradeElement</code> function. Here is how you can dynamically create the same raised button with ripples shown in the section above: </p> <pre class="language-markup codepen-button-enabled"><code>&lt;div id="container"/&gt; &lt;script&gt; var button = document.createElement('button'); var textNode = document.createTextNode('Click Me!'); button.appendChild(textNode); button.className = 'mdl-button mdl-js-button mdl-js-ripple-effect'; componentHandler.upgradeElement(button); document.getElementById('container').appendChild(button); &lt;/script&gt;</code><form class="codepen-button" action="https://codepen.io/pen/define" method="POST" target="_blank"></form></pre> </div> </section> <section id="responsibilities"> <h3>What are MDL's responsibilities?</h3> <div class="section-content"> <p> Material Design Lite is built to provide a lightweight and basic set of Material Design components and templates for web sites. The project does not intend to provide structures to create all possible UX needs, but to provide a low-friction Material Design implementation you can build on. Even within Material Design itself, cards specifically, it is unfeasible to provide every combination in a seamless manner. When you find something not provided, such as dropdowns in the drawer, you may need to code your own component. </p> <p> The team is committed to providing a great experience to developers while staying true to the promise of lite. </p> </div> </section> <section id="whats-next"> <h3>What's next?</h3> <div class="section-content"> <p> Detailed instructions for using the components, including MDL classes and their effects, coding considerations, and configuration options, can be found in the <a href="../components/index.html">components</a> page. Example of sites using MDL elements together can be found in the <a href="../templates/index.html">templates</a> page. </p> </div> </section> <section id="license"> <h3>License</h3> <div class="section-content"> <p> Copyright Google, 2015. Licensed under an Apache-2 license. </p> </div> </section> </div> {% endblock %} {% extends 'layout.html' %} {% block content %} <div class="docs-text-styling"> <section id="include"> {{content|safe}} </section> </div> {% endblock %}

joshiscool:

@ILovePuppiesLol

joshiscool:

@Bob

Bob:

....

Bob:

?

joshiscool:

utrilliam how is the coding so far

ILovePuppiesLol:

what the flying fudge are you doing, someone ban this kid

joshiscool:

tf he said i can post my coding in computer science

ILovePuppiesLol:

im gonna kill this kid @Ultrilliam

joshiscool:

im gonna kill this kid @Ultrilliam

joshiscool:

jealous i can code ngga

joshiscool:

?????????

Bob:

Calm down

joshiscool:

xD

ILovePuppiesLol:

simmer down child

ILovePuppiesLol:

did u just copy n paste this... cuz i clearly see it giving directions on how to code

ILovePuppiesLol:

I'm almost certain this guy just did inspect element and copy n pasted

joshiscool:

tf

joshiscool:

that would be you mister i don't know how to code

joshiscool:

im done

Ultrilliam:

Dude. I meant open a new question about it, then in the reply's go \```Code Here\```

Ultrilliam:

/sigh

wo1f0mon:

<!DOCTYPE html> <html lang="en"> <head> <title>Bootstrap Example</title> <meta charset="utf-8"> <meta name="viewport" content="width=device-width, initial-scale=1"> <link rel="stylesheet" href="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.7/css/bootstrap.min.css"> <script src="https://ajax.googleapis.com/ajax/libs/jquery/1.12.4/jquery.min.js"></script> <script src="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.7/js/bootstrap.min.js"></script> </head> <body> <div class="jumbotron text-center"> <h1>Wellcome </h1> <h3> im Nathan </h3> <p></p> </div> <div class="container"> <div class="row"> <div class="col-sm-4"> <h3>Part 1</h3> <p>this is part of coding its hard to do this with just the old weebly tools.</p> <br> <p> im using bootstrap</p> </div> </div> </div> </body> </html>

Ultrilliam:

FOR REAL

wo1f0mon:

i made that code from bootstrap

Can't find your answer? Make a FREE account and ask your own questions, OR help others and earn volunteer hours!

Join our real-time social learning platform and learn together with your friends!
Can't find your answer? Make a FREE account and ask your own questions, OR help others and earn volunteer hours!

Join our real-time social learning platform and learn together with your friends!