Html 更大版本的 •
声明:本页面是StackOverFlow热门问题的中英对照翻译,遵循CC BY-SA 4.0协议,如果您需要使用它,必须同样遵循CC BY-SA许可,注明原文地址和作者信息,同时你必须将它归于原作者(不是我):StackOverFlow
原文地址: http://stackoverflow.com/questions/4521381/
Warning: these are provided under cc-by-sa 4.0 license. You are free to use/share it, But you must attribute it to the original authors (not me):
StackOverFlow
Bigger version of •
提问by Bryan Field
Is there a bigger version of •
?
有更大的版本•
吗?
• Right now it is this big
• 现在这么大
- I want it this big without using font sizes or
<li>
- 我想要这么大而不使用字体大小或
<li>
回答by SLaks
You could put it in a <span>
with a bigger font but the same line-height
.
你可以把它放在一个<span>
更大的字体中,但相同的line-height
.
You can also try BLACK CIRCLE ●
●.
I don't know how many platforms that will work on, though.
你也可以试试黑圈●
●。
不过,我不知道有多少平台可以使用。
回答by user7874054
You can also set the font-size
in CSS higher:
您还可以font-size
在 CSS 中设置更高的值:
.bullelements{
font-size:2rem;
}
<html>
<head>
</head>
<body>
...<span class="bullelements">•</span>
</body>
</html>
Now you can set the font-size
to your size.
现在您可以将其设置font-size
为您的尺寸。
回答by Sammy
Easy my friend! Check this:
轻松我的朋友!检查这个:
ul{
list-style-type: none;
margin-left: 0;
padding-left: 0;
}
ul li::before {
content: "● ";
color: #2C92C5;
padding-right: 5px;
}