Pen Settings



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


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


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.


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.


                <div class="container">
<div class="vireorange img-card">
<div class="virecard-body">
<div class="d-flex">
<div class="virelogoindo"> <img src="" width="36" height="24" alt="Positif" /> </div>
<p class="vireupdate">Update Hari ini: <span id="date"/></span></p>
<p class="virecountry">Info COVID-19</p>
<p class="virecorona"> <span id="terjangkit" class="virepositif"/></span>Positif&nbsp;&nbsp;&nbsp;&nbsp;<span id="sembuh" class="viresembuh"/></span>Sembuh&nbsp;&nbsp;&nbsp;&nbsp;<span id="meninggal" class="viremeninggal"/></span>Meninggal</p>
<svg xmlns="" xmlns:xlink="" viewbox="0 24 150 28" preserveaspectratio="none">
    <path id="gentle-wave" d="M-160 44c30 0 58-18 68-18s 58 18 88 18 58-18 98-5 58 18 88 18 v44h-352z" />
   <use xlink:href="#gentle-wave" x="55" y="0" fill="rgba(34,49,63,0.03)"/>
   <use xlink:href="#gentle-wave" x="48" y="2" fill="rgba(34,49,63,0.03)"/>
   <use xlink:href="#gentle-wave" x="50" y="4" fill="rgba(34,49,63,0.03)"/>  
.virelogoindo img{border-radius:5px;box-shadow:0 1px 3px rgba(0,0,0,0.15)}
.vireorange{position:relative;background:#f6f7fa;color:#000;margin:0 auto;border-radius:10px}
.vireorange svg{position:absolute;bottom:0;left:0;right:0}
.virecorona{padding:10px 0 0 0;margin:0;font-size:14px;line-height:30px}
.vireupdate{font-size:14px;margin:0 auto 10px auto}
.virepositif,.viresembuh,.viremeninggal{padding:3px 10px;color:#fff;border-radius:99em;margin:0 7px 0 0}
.virewords{padding:5px 7px 5px 5px;background:#333333;border-radius:10px;align:center}


                @import url(,400i,700,700i);
body {
   background: linear-gradient(45deg,rgba(255,101,165,1) 0,rgba(255,101,165,1) 13%,rgba(255,107,154,1) 35%,rgba(255,134,106,1) 100%);
  font-family: "Roboto", sans-serif;
  margin: 0;
  padding: 0;
  position: relative;
  line-height: normal;

.container {
  max-width: 580px;
  margin: 4% auto;
  padding: 0;
  background: #fff;
  color: #222;
  font-size: 16px;
  line-height: 1.6;
  box-shadow: 0 10px 15px -5px rgba(0, 0, 0, 0.2);

.container h1,
.container h2 {
  display: block;
  margin-bottom: 20px;
  font-size: 1.2rem;
  font-weight: 700;
  color: #222;


                $(document).ready(function(){var t=new Date;$("#date").html(t.getDate()+"/"+(t.getMonth()+1)+"/"+t.getFullYear()),$.ajax({url:"",success:function(t){$("#terjangkit").html(t[0].positif),$("#sembuh").html(t[0].sembuh),$("#meninggal").html(t[0].meninggal)}})});