admin管理员组文章数量:1424963
I am trying to draw big arrow but I couldn't make it more bigger. Can you help me please?I tried font-size, width attributes but it does not work.
<html>
<td>⇧</td>
</html>
I am trying to draw big arrow but I couldn't make it more bigger. Can you help me please?I tried font-size, width attributes but it does not work.
<html>
<td>⇧</td>
</html>
Share
Improve this question
edited Dec 16, 2016 at 10:07
Mistalis
18.3k14 gold badges77 silver badges97 bronze badges
asked Dec 15, 2016 at 18:21
xayxay
11 silver badge3 bronze badges
3
- 1 How you try with font-size that don't work ? jsfiddle/qfundgsq – DaniP Commented Dec 15, 2016 at 18:37
- This question has been edited by OP and is now a pletely different question... – Brad Commented Dec 16, 2016 at 9:41
- Rollback to version 1, the sense of the question has been changed in version 2. Next time, ask another question. – Mistalis Commented Dec 16, 2016 at 10:08
3 Answers
Reset to default 5You need to tell the html that you want the arrow to be big. The more bigger you want it, the more bigger you should tell it to be.
<big>⇧</big>
<big><big><big><big>⇧</big></big></big></big>
Please don't change a question after it has been answered. Instead ask a new question.
However, in answer to your new question. You can do this (using jQuery):
$(".number").change(function(){
var num1 = $("#number1").val();
var num2 = $("#number2").val();
var arrow = "";
if(num1 > num2 ) {arrow = "⇧";}
if(num1 < num2 ) {arrow = "⇩";}
if(num1 == num2 ) {arrow = "⇨";}
$("#arrow").html(arrow);
});
<script src="https://ajax.googleapis./ajax/libs/jquery/3.1.1/jquery.min.js"></script>
<input class="number" id="number1" type="number">
<input class="number" id="number2" type="number">
<big id="arrow"></big>
You should consider using something like font-awesome.
then you can do something like:
div {
font-size:50px;
}
<link href="https://cdnjs.cloudflare./ajax/libs/font-awesome/4.7.0/css/font-awesome.min.css" rel="stylesheet"/>
<div><i class="fa fa-arrow-up" aria-hidden="true"></i></div>
本文标签: javascriptHtml Big Arrow SizeStack Overflow
版权声明:本文标题:javascript - Html Big Arrow Size - Stack Overflow 内容由网友自发贡献,该文观点仅代表作者本人, 转载请联系作者并注明出处:http://www.betaflare.com/web/1745389274a2656522.html, 本站仅提供信息存储空间服务,不拥有所有权,不承担相关法律责任。如发现本站有涉嫌抄袭侵权/违法违规的内容,一经查实,本站将立刻删除。
发表评论