<分区>
抱歉,这对我来说很难通过搜索找到
<div>
<??>
<??> Question </??> <??> X Y <??>
</??>
<button> Answer 1</button>
<button> Answer 2</button>
<button> Answer 3</button>
</div>
其中 X 和 Y 是从 0 到 100 的数字; 如何以好的方式将 X 像分数一样堆叠在 Y 之上? 编辑:例如,可以添加/更改标记。
最佳答案
试试这个:
<sup>X</sup>⁄<sub>Y</sub>
输出:
X⁄Y
引用:http://changelog.ca/log/2008/07/01/writing_fractions_in_html
关于html/css 简单的两行/两行元素,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/49428451/