Skip to content

Instantly share code, notes, and snippets.

@frunjik
frunjik / component-style.html
Created February 1, 2021 01:16
<script total> required for component styles
<!--script total>
// this is needed for style to work
// which is unexpected (and should be changed or documented)
</script -->
<style>
.example-104 {
height: 120px;
color: yellow;
font-size: 250%;

Keybase proof

I hereby claim:

  • I am frunjik on github.
  • I am frunjik (https://keybase.io/frunjik) on keybase.
  • I have a public key ASBUsUrem21vATz0TpyZ8uV-yGDEce_-kNlrA_rpbTNPSwo

To claim this, I am signing this object:

<link rel="import" href="../core-icons/core-icons.html">
<link rel="import" href="../paper-item/paper-item.html">
<link rel="import" href="../core-icon-button/core-icon-button.html">
<link rel="import" href="../core-toolbar/core-toolbar.html">
<polymer-element name="ts-list">
<template>
<style>
:host {
<link rel="import" href="../code-mirror/code-mirror.html">
<polymer-element name="my-element">
<template>
<style>
#code_mirror {
width: 400px;
height: 300px;
left: 360px;
<link rel="import" href="../core-icon-button/core-icon-button.html">
<link rel="import" href="../core-toolbar/core-toolbar.html">
<polymer-element name="my-element">
<template>
<style>
:host {
position: absolute;
width: 100%;
<empty/>