html

Compare original and translation side by side

🇺🇸

Original

English
🇨🇳

Translation

Chinese

HTML

HTML

Review the files throughout
references/html-effectiveness/
.
Create an HTML file for whatever the user is describing. Use the references as best you can to match alignment — style, density, and tone.
Always include dark mode: hand-rolled CSS variables on
:root
/
html.dark
, a small theme toggle button,
localStorage
persistence, and an apply-before-paint script in
<head>
(default to
prefers-color-scheme
).
查看
references/html-effectiveness/
目录下的所有文件。
为用户描述的任何内容创建一个HTML文件。尽可能参考这些文件,确保在样式、内容密度和风格上保持一致。
务必包含深色模式:在
:root
/
html.dark
上使用自定义CSS变量,添加一个小型主题切换按钮,实现
localStorage
持久化,并在
<head>
中添加一个paint前执行的脚本(默认遵循
prefers-color-scheme
设置)。