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>&#8679;</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>&#8679;</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
Add a ment  | 

3 Answers 3

Reset to default 5

You 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>&#8679;</big>


<big><big><big><big>&#8679;</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 =  "&#8679;";}
  if(num1 < num2 ) {arrow =  "&#8681;";}
  if(num1 == num2 ) {arrow =  "&#8680;";}
  $("#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