CSS
document.body.style.webkitTouchCallout='none'; で消せる。
https://arts-factory.net/lineargradient/#toc3 簡単と言いながら謎の20%がどこから? 0~50%までは赤、50%~20%で赤から青に変化、20%から100%は青色としたい場合は次のように書きます。 .box{ background:linear-gradient(to right , #F00 50%, #00F…
https://developer.mozilla.org/ja/docs/Web/CSS/CSS_Images/Using_CSS_gradients 角度を指定した場合、 0deg は下から上への垂直グラデーション ↑ 90deg は左から右への水平グラデーション → 時計回りに回転 負の数の角度を指定すると、反時計回り。
https://caniuse.com/#home
<table id="tb"> <thead> <tr> <th>利用者</th> </tr> </thead> <thead> <tr> <th>利用者</th> </tr> </thead> <tbody> <tr> <td>aho</td> <td>hoge</td> </tr> <tbody> </table> ahoを変えたい これはだめ #tb tbody tr td:nth-child(0) { width: 10px; color: white; } こっち #tb tbody tr td:first-child { width: 10px; color: white; } #…
Reactで印刷専用CSSのインポートするときに、 print.cssに印刷専用コードを書き、 @import "print.css" print; と記載したインポート専用print-import.cssを作ってそれをTypScriptのコード上で、 `import 'print-import.css';やると行けるが・・・ ※私はcrea…
javascript - How to get nth-child selector to skip hidden divs - Stack Overflow 交互に使えるけど、hiddenは・・・スキップしない。 これ CSSでこれできないの!? var.blog.jp
<html> <head> <title>印刷プレビュー</title> <style type="text/css" media="print"> <!-- tbody tr.NoPrint{ display: none; } --> </style> <script type= text/javascript> </script> </head> <body> <table> <tbody> <thead> </thead> <tr> <td> あ </td> </tr> <tr class="NoPrint"> <td> い </td> </tr> </tbody></table></body></html>