Pen Settings

HTML

CSS

CSS Base

Vendor Prefixing

Add External Stylesheets/Pens

Any URL's added here will be added as <link>s in order, and before the CSS in the editor. If you link to another Pen, it will include the CSS from that Pen. If the preprocessor matches, it will attempt to combine them before processing.

+ add another resource

JavaScript

Babel includes JSX processing.

Add External Scripts/Pens

Any URL's added here will be added as <script>s in order, and run before the JavaScript in the editor. You can use the URL of any other Pen and it will include the JavaScript from that Pen.

+ add another resource

Packages

Add Packages

Search for and use JavaScript packages from npm here. By selecting a package, an import statement will be added to the top of the JavaScript editor for this package.

Behavior

Save Automatically?

If active, Pens will autosave every 30 seconds after being saved once.

Auto-Updating Preview

If enabled, the preview panel updates automatically as you code. If disabled, use the "Run" button to update.

Format on Save

If enabled, your code will be formatted when you actively save your Pen. Note: your code becomes un-folded during formatting.

Editor Settings

Code Indentation

Want to change your Syntax Highlighting theme, Fonts and more?

Visit your global Editor Settings.

HTML

              
                <!doctype html>
<html lang="en">

<head>
  <meta charset="utf-8">
  <meta name="viewport" content="width=device-width, initial-scale=1">
  <title>A Basic HTML5 Template</title>
  <link href="https://fonts.googleapis.com/css?family=Material+Icons|Material+Icons+Outlined|Material+Icons+Two+Tone|Material+Icons+Round|Material+Icons+Sharp" rel="stylesheet">
  <link href="https://cdn.jsdelivr.net/gh/tronic247/material/dist/css/material.min.css" rel="stylesheet" />
  <style type="text/css">
    header {
      position: sticky;
      top: 0;
    }

    main {
      line-height: 2;
    }
  </style>
</head>

<body>

  <header class="appbar dark elevation-10">
    <div class="appbar-content">
      <div class="appbar-brand">Tronic247 Material</div>
      <ul class="appbar-items appbar-item--start">
        <form class="input-form">
          <input class="input input-with-icon" placeholder="Search" id="search" />
          <span class="search-icon material-icons">search</span>
        </form>
      </ul>
      <ul class="appbar-items appbar-item--end">
        <a class="btn" href="#">Latest posts</a>
        <a class="btn" href="#">Login</a>
        <a class="btn" href="#">Sign up</a>
      </ul>
    </div>
  </header>

  <div class="p-5" style="background: url('https://images.unsplash.com/photo-1552082919-e60010758c47?ixid=MnwxMjA3fDB8MHxzZWFyY2h8NTl8fG5hdHVyZXxlbnwwfHwwfHw%3D&ixlib=rb-1.2.1&auto=format&fit=crop&w=500&q=60') no-repeat; background-size: cover;">
    <div class="p-4"></div>
    <h1 class="text-center text-white h2">Blog Title</h1>
    <p class="text-center text-muted h5 mt-4">2021 | 1 | 2 by John doe</p>
    <div class="p-4"></div>
  </div>

  <main class="container mt-4 ps-4 pe-4">
    <p>Lorem ipsum dolor sit amet, consectetur adipiscing elit. Sed nunc, quod agimus; Sed fortuna fortis; Duo Reges: constructio interrete. Utram tandem linguam nescio? Nos vero, inquit ille; </p>

    <ul>
      <li>Sed ad bona praeterita redeamus.</li>
      <li>Quid enim me prohiberet Epicureum esse, si probarem, quae ille diceret?</li>
      <li>Non igitur de improbo, sed de callido improbo quaerimus, qualis Q.</li>
      <li>Maximas vero virtutes iacere omnis necesse est voluptate dominante.</li>
    </ul>

    <p>Nescio quo modo praetervolavit oratio. Easdemne res? <b>Haec para/doca illi, nos admirabilia dicamus.</b> Primum in nostrane potestate est, quid meminerimus? Refert tamen, quo modo. </p>

    <p>Minime vero istorum quidem, inquit. Si longus, levis; <i>Quid sequatur, quid repugnet, vident.</i> Nunc agendum est subtilius. Aliter homines, aliter philosophos loqui putas oportere? </p>

    <ol>
      <li>Sed virtutem ipsam inchoavit, nihil amplius.</li>
      <li>Suo genere perveniant ad extremum;</li>
    </ol>

    <img src="https://picsum.photos/200" />;

    <p>Easdemne res? Audeo dicere, inquit. Non autem hoc: igitur ne illud quidem. <b>Nam quid possumus facere melius?</b> Sed fortuna fortis; Ita nemo beato beatior. Praeclare hoc quidem. </p>

    <p>Cur iustitia laudatur? <i>Sed fortuna fortis;</i> <b>Qua tu etiam inprudens utebare non numquam.</b> Nam ista vestra: Si gravis, brevis; Quis istud possit, inquit, negare? Res enim concurrent contrariae. </p>

    <p>Ostendit pedes et pectus. Quod cum dixissent, ille contra. Praeclarae mortes sunt imperatoriae; Efficiens dici potest. </p>

  </main>

  <footer class="mt-4 p-5 background-primary text-white">
    <p>&copy; Blog title created with <a href="https://material.pages.dev" class="btn text dark p-0">Tronic247 Material</a></p>
  </footer>

  <script src="https://code.jquery.com/jquery-3.6.0.slim.min.js" integrity="sha256-u7e5khyithlIdTpu22PHhENmPcRdFiHRjhAuHcs05RI=" crossorigin="anonymous"></script>
  <script src="https://cdn.jsdelivr.net/gh/tronic247/material/dist/js/material.min.js"></script>
</body>

</html>
              
            
!

CSS

              
                
              
            
!

JS

              
                
              
            
!
999px

Console