想把 App Star Rating code cause Horizontal Issue

问题描述 投票:0回答:0

我正在尝试实现此代码以将开始评级放在应用程序前面,

<!DOCTYPE html>
<html>
<head>
<!-- Font Awesome Icon Library -->
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/4.7.0/css/font-awesome.min.css">
<style>
.checked {
  color: orange;
}
</style>
</head>
<body>

<h2>Star Rating</h2>
<span class="fa fa-star checked"></span>
<span class="fa fa-star checked"></span>
<span class="fa fa-star checked"></span>
<span class="fa fa-star"></span>
<span class="fa fa-star"></span>

</body>
</html>

实施后一切正常,但 STARS 垂直显示。如何水平对齐。

这是五月网站::https://mksapk.com/

谢谢

我尝试了很多解决方案,但对我没有用。

喜欢文本对齐:居中;居中对齐; 保证金 0,自动;

html css rating
© www.soinside.com 2019 - 2024. All rights reserved.