erfanx.ir
دوشنبه 05 خرداد 1393, 01:34 صبح
کد html :
<div id="نام مورد نظر"></div>
1-Square (مربع) :
119500
height: ; background: red;
#square {
width:100px;
height:100px;
background-color:red;
}
2-Rectangle (مستطیل) :
119501
#rectangle {
width: 200px;
height: 100px;
background: red;
}
3-Circle (دایره) :
119502
#circle {
width: 100px;
height: 100px;
background: red;
-moz-border-radius: 50px;
-webkit-border-radius: 50px;
border-radius: 50px;
}
4-Oval (بیضی) :
119503
#oval {
width: 200px;
height: 100px;
background: red;
-moz-border-radius: 100px / 50px;
-webkit-border-radius: 100px / 50px;
border-radius: 100px / 50px;
}
5-Triangle Up (مثلث بالا) :
119504
#triangle-up {
width: 0;
height: 0;
border-left: 50px solid transparent;
border-right: 50px solid transparent;
border-bottom: 100px solid red;
}
ادامه دارد...
<div id="نام مورد نظر"></div>
1-Square (مربع) :
119500
height: ; background: red;
#square {
width:100px;
height:100px;
background-color:red;
}
2-Rectangle (مستطیل) :
119501
#rectangle {
width: 200px;
height: 100px;
background: red;
}
3-Circle (دایره) :
119502
#circle {
width: 100px;
height: 100px;
background: red;
-moz-border-radius: 50px;
-webkit-border-radius: 50px;
border-radius: 50px;
}
4-Oval (بیضی) :
119503
#oval {
width: 200px;
height: 100px;
background: red;
-moz-border-radius: 100px / 50px;
-webkit-border-radius: 100px / 50px;
border-radius: 100px / 50px;
}
5-Triangle Up (مثلث بالا) :
119504
#triangle-up {
width: 0;
height: 0;
border-left: 50px solid transparent;
border-right: 50px solid transparent;
border-bottom: 100px solid red;
}
ادامه دارد...