Merge pull request #4 from OTraveler/dev

解决卡片每次显示都会先闪一下没样式的内容
This commit is contained in:
小能饼干 2024-02-22 17:18:21 +08:00 committed by GitHub
commit e6d284e986
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 6 additions and 0 deletions

View File

@ -21,6 +21,12 @@
padding: 15px; padding: 15px;
} }
} }
/* 初始状态下设置透明度为0 */
.md-content {
opacity: 0;
transition: opacity 0.3s ease-in-out;
}
</style> </style>
<body> <body>
<br />\[x = {-b \pm \sqrt{b^2-4ac} \over 2a}\]<br /> <br />\[x = {-b \pm \sqrt{b^2-4ac} \over 2a}\]<br />