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

You're using npm packages, so we've auto-selected Babel for you here, which we require to process imports and make it all work. If you need to use a different JavaScript preprocessor, remove the packages in the npm tab.

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

Use npm Packages

We can make npm packages available for you to use in your JavaScript. We use webpack to prepare them and make them available to import. We'll also process your JavaScript with Babel.

⚠️ This feature can only be used by logged in users.

Code Indentation

     

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.

HTML Settings

Here you can Sed posuere consectetur est at lobortis. Donec ullamcorper nulla non metus auctor fringilla. Maecenas sed diam eget risus varius blandit sit amet non magna. Donec id elit non mi porta gravida at eget metus. Praesent commodo cursus magna, vel scelerisque nisl consectetur et.

            
              <h3>iCal (.ics)內容</h3>
<textarea cols=50 rows=8>
BEGIN:VCALENDAR
VERSION:2.0
PRODID:http://www.icalmaker.com
BEGIN:VEVENT
UID:http://www.icalmaker.com/event/c4e323bb-227f-42f7-84d3-930cb8cd4533
DTSTAMP:20190213T025118Z
DTSTART:20190214T100000Z
DTEND:20190214T120000Z
SUMMARY:Amazfit運動手環2 (2019/2/14 10:00開賣)
LOCATION:online
DESCRIPTION:url: http://buy.mi.com/tw/item/3190400008
END:VEVENT
END:VCALENDAR
</textarea>
<br>
以上內容由 <a href="http://www.icalmaker.com/">http://www.icalmaker.com/</a> 產生
<hr>
<h3>使用 datauri 產生 .ics 檔案下載加入行事曆功能</h3>
<a download="reminder.ics" href="data:text/calendar;base64,QkVHSU46VkNBTEVOREFSClZFUlNJT046Mi4wClBST0RJRDpodHRwOi8vd3d3LmljYWxtYWtlci5jb20KQkVHSU46VkVWRU5UClVJRDpodHRwOi8vd3d3LmljYWxtYWtlci5jb20vZXZlbnQvYzRlMzIzYmItMjI3Zi00MmY3LTg0ZDMtOTMwY2I4Y2Q0NTMzCkRUU1RBTVA6MjAxOTAyMTNUMDI1MTE4WgpEVFNUQVJUOjIwMTkwMjE0VDEwMDAwMFoKRFRFTkQ6MjAxOTAyMTRUMTIwMDAwWgpTVU1NQVJZOkFtYXpmaXTpgYvli5XmiYvnkrAyICgyMDE5LzIvMTQgMTA6MDDplovos6MpCkxPQ0FUSU9OOm9ubGluZQpERVNDUklQVElPTjp1cmw6IGh0dHA6Ly9idXkubWkuY29tL3R3L2l0ZW0vMzE5MDQwMDAwOApFTkQ6VkVWRU5UCkVORDpWQ0FMRU5EQVIK">提醒我</a>
            
          
!
999px
🕑 One or more of the npm packages you are using needs to be built. You're the first person to ever need it! We're building it right now and your preview will start updating again when it's ready.

Console