This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<!-- Material Design Components for the WebのCDNの読み込み | |
https://github.com/material-components/material-components-web/tree/master/packages/mdc-typography | |
--> | |
<h1 class="mdc-typography--display1">マテリアルデザインTypography</h1> | |
<!-- Tool --> | |
<hr> | |
<div class="tool"> | |
Select a font from the list below: | |
<select id="font-select"> | |
<option value="未設定">未設定</option> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/** | |
* ======= Flex Box ======= | |
* Example: | |
* @include flex(center, center) | |
* @include flex(null, end, column, nowrap) | |
*/ | |
@mixin flex($justify:null, $align:null, $column:null, $wrap:null) { | |
display:flex; | |
/** | |
* justify-content / Horizontal ===(1st Argument) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<section id="first" class="section"> | |
<div class="section__container"> | |
<p>First section</p> | |
<p>↓Scroll↓</p> | |
</div> | |
</section> | |
<section id="second" class="section obs"> | |
<div class="section__container"> | |
<p>Second section</p> | |
</div> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/* ===== Token ===== */ | |
// font-size: px to rem Auto Calc | |
export const fz = (px) => { | |
/* if html element has font-size get root fontSize | |
* => const fontSize = getComputedStyle( document.documentElement).fontSize | |
*/ | |
const fontSize = getComputedStyle( | |
document.querySelector('body') | |
).fontSize |
Hi! I’m your first Markdown file in StackEdit. If you want to learn about StackEdit, you can read me. If you want to play with Markdown, you can edit me. Once you have finished with me, you can create new files by opening the file explorer on the left corner of the navigation bar.
- xxcxxxxxx ccc
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<div id="page" :class="['hoge', nightMode ? 'theme-dark': '']"> | |
<label for="theme-toggle"><span>Toggle</span></label> | |
<input type="checkbox" id="theme-toggle" v-model="nightMode"> | |
</div> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
h1 Sass mixin Grid | |
.container AAA | |
.row | |
.w-1 .w-1 | |
.w-3 .w-3 | |
.w-3 .w-3 | |
.w-5 .w-5 | |
.row | |
.w-sm-2 .w-sm-2 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
https://onedrive.live.com?invref=f0ff6a20aca239c5&invscr=90 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
@charset "UTF-8"; | |
body { | |
background: #234; | |
color: #f9f9f9; | |
font-weight: 500; | |
} | |
/* 見出し関係のスタイル */ |
NewerOlder