(・谷・)<下記はセミナースライド用のダミーだよ
/* モジュールのヘッダ部分(タイトルやメタ情報)にあたるもの */
xxx__head {...}
function hasRoundedCorners(r) { | |
const result = figma.currentPage.findAll(n => n.cornerRadius === r) | |
figma.currentPage.selection = result | |
} | |
// 引数に任意のnumber | |
hasRoundedCorners(8); |
A Pen by Hiroki Tani on CodePen.
<link rel="import" href="../components/polymer/polymer.html"> | |
<polymer-element name="my-element"> | |
<template> | |
<style> | |
:host { | |
position: absolute; | |
width: 100%; | |
height: 100%; |
<link rel="import" href="../components/polymer/polymer.html"> | |
<polymer-element name="my-element"> | |
<template> | |
<style> | |
:host { | |
position: absolute; | |
width: 100%; | |
height: 100%; |
// ---- | |
// Sass (v3.2.19) | |
// Compass (v0.12.6) | |
// ---- | |
// Mixin A | |
@mixin kiteA { | |
display: table; | |
width: 100%; | |
font-size: 0 !important; |
ul,li { | |
margin: 0; | |
padding: 0; | |
list-style: none; | |
} | |
a { | |
color: inherit; | |
text-decoration: none; | |
} |
/* Sprite */ | |
.btn-login { | |
display: inline-block; | |
width: 528px; /* 使いたい画像のサイズ */ | |
height: 82px; /* 使いたい画像のサイズ */ | |
background-image: url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAhAAAACkCAMAAADxGufxAAAABGdBTUEAALGPC/xhBQAAAAFzUkdCAK7OHOkAAAL0UExURQAAAGXLM2bLM2TNM2bNMWbLM2XMMlXUKmbMM2bLM1WqVWbMM2TMMWXLMWXLMWbMMmbLMmbMM2bLM2XLM2bMM2XLMmXLM2bMM2fPL2nSNGbMM2XMMWbMM2bMM////4W1CmbMM3HNA5TECom5CnnVA3bSA4i4CormBHXRA4vnBIe3CpfHCozoBHPPA4a2CpjICnLOA4u7Co3pBI6+CpHBCobiBHjUA5PDCoq6CnfTA4jkBIXhBJXFConlBJXGCpbGCnTQA5jJCpnJCo3qBJLCCnCTB1KVAnrWA4DcA4+/CoHdA5DACn3ZA3/bA429CoLeA3zYA3vXA4y8CobjBIq7CpPECofkBIfjBIm6Coi5CpTFCojlBJLDCoe4CnTPA5bHCoa3CpfICozpBIW2CoThBITgBJnKCo7qBHCUB4/ACn7bA37aA4PgBIu8Cn3aA42+CpHCCo6/CpDBCoPfBIPfA4y9Cvn78fj98Mjhhev00sHvguH3wfD74M/xoWbLMeTwwuPvwp7jQ77sgpzhQ9/2wcbfhdXnpG6RB+f40ajMR/H34b3rgpPBGazQR8ffhc7jlNf0sZbDGcjwkqvPR7LTV8DugsDbdbHrYq3SR6PKOKrOR+j50aLnQ4zdI57JKWfMMa7nYtbopGXILqbNOFacBKXkUqDlQ5vFKNzrs5LjI8XdhVqkCLrYZoXbE3LVJH+7Em/GKJjFGaHmQ4PaE22YDJTfM4fdE5rmM9HzoXuiCFyuFmnNL1OYAmvABJfiM7jWZ |
// ---- | |
// libsass (v0.7.0) | |
// ---- | |
$module: module-item; | |
$--: "--"; | |
.#{$module}#{$--}body { | |
width: 100px; | |
} |
// ---- | |
// Sass (v3.2.17) | |
// Compass (v0.12.4) | |
// ---- | |
$module: module-item; | |
.#{$module}--body { | |
width: 100px; | |
} |