Skip to content

Instantly share code, notes, and snippets.

What would you like to do?
Scoped CSS Snippet (Blog)
<require from="./card-styles.css" as="scoped"></require> //only works in Firefox at the time of writing
<template id="info-card">
<div class="card-content">
<slot name="header">To be replaced with header</slot>
<div class="card-body">
<slot name="body"><p>To be replaced with body </p></slot>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment