switchable css dark theme in js & html custom element
switchable css dark theme in js & html custom element
dark theme / dark mode
https://codepen.io/xgqfrms/pen/rNxWzzg
1turn === 360deg === 2𝞹 rad
pi symbol 𝞹 === 3.14159269793
https://en.wikipedia.org/wiki/Pi
弧度 rad = 360deg / PI
css units convertor
https://developer.mozilla.org/en-US/docs/Web/CSS/rotate
https://developer.mozilla.org/en-US/docs/Learn/CSS/Building_blocks/Values_and_units
https://developer.mozilla.org/en-US/docs/Web/CSS/angle
https://sabe.io/tools/css-unit-conversion-calculator
refs
https://www.cnblogs.com/xgqfrms/p/13054524.html
©xgqfrms 2012-2020
www.cnblogs.com 发布文章使用:只允许注册用户才可以访问!
本文首发于博客园,作者:xgqfrms,原文链接:https://www.cnblogs.com/xgqfrms/p/13155223.html
未经授权禁止转载,违者必究!