CSS snippet

sozai

コピペでご利用ください

▼文章コピー禁止
body {
-webkit-user-select: none;
-moz-user-select: none;
-ms-user-select: none;
user-select: none;
}

▼印刷禁止
@media print {
body {
display: none!important;
}
}

▼画像保存禁止
img {
pointer-events: none;
-webkit-touch-callout: none;
-moz-touch-callout: none;
user-select: none;
}

▼スクロールをスムーズに
html{
scroll-behavior: smooth;
}

▼アコーディオン(summary)上でポインタを変更
summary{
cursor: pointer;
}