+ 1

Any one tell me the how i aadjust the sides of the html box individually???? ¿??????¿???

HTML CSS

22nd Jan 2017, 6:30 AM
Salman Karim
Salman Karim - avatar
5 Antworten
+ 1
And if you mean adjust size, we must know the context: not even possible, because of less or more auto-sizing features... could require to change the context of element wanted to "adjust'...
22nd Jan 2017, 12:51 PM
visph
visph - avatar
+ 1
no I mean .. I want to give the height of left side of the element 10px and right side of the elem side of the element to 5px
22nd Jan 2017, 4:14 PM
Salman Karim
Salman Karim - avatar
+ 1
You can't: html box are necessarly rectangular, so opposite sides must have equal size... However, according to what are your needs, you may draw more complex shapes with SVG ^^
22nd Jan 2017, 4:20 PM
visph
visph - avatar
0
How do you want to adjust them? If you are asking about borders then you would use border-left:solid #000 1px; border-right:solid #000 1px
22nd Jan 2017, 7:59 AM
Kevin Gilkey-Graham
Kevin Gilkey-Graham - avatar
0
@Salman Check out the 3d transforms in CSS. You can skew the box to make it a trapezoid but other than that I'm not aware of any way to do what you are asking.
23rd Jan 2017, 12:19 AM
Kevin Gilkey-Graham
Kevin Gilkey-Graham - avatar