久久r热视频,国产午夜精品一区二区三区视频,亚洲精品自拍偷拍,欧美日韩精品二区

您的位置:首頁技術文章
文章詳情頁

css3 - css @keyframe 能帶小數嗎

瀏覽:123日期:2023-07-29 18:11:15

問題描述

比如 10.3% 如果可以精確度是多少?

問題解答

回答1:

可以,但是最多只能保持2為小數點。

@keyframes myAnimation { 0% { height: 100px; } 33.3% { height: 120px; } 66.6% { height: 140px; } 100% { height: 200px; }}

When it comes to CSS it takes notice of percentages down to 2 decimal places and then stops. So you would be able to get 33.34% but not 33.3457% for use in your keyframes

SO上的相關鏈接:

Is it allowed to use any decimal value in CSS keyframe animations?

Can you use more than a whole number with @keyframe percents?

標簽: CSS
相關文章:
主站蜘蛛池模板: 秦安县| 集贤县| 青神县| 新泰市| 斗六市| 绿春县| 高台县| 绥宁县| 黎川县| 墨玉县| 咸宁市| 墨江| 浪卡子县| 兰考县| 西藏| 和龙市| 大埔区| 静安区| 福贡县| 安福县| 会同县| 旬邑县| 金平| 宁陕县| 南华县| 稷山县| 兴安盟| 太仆寺旗| 安阳县| 淮安市| 桦川县| 江阴市| 阿合奇县| 溧水县| 科技| 喀什市| 天台县| 宜兰县| 兖州市| 宁夏| 天峻县|