Tuesday, September 19, 2023
HomeCSScss - Obtain input message area to load size of moms and...

css – Obtain input message area to load size of moms and dad container


I have actually adhered to several pointers about box sizing. I can not obtain the input to pleasantly extend (broaden) to fit the offered room. Does any individual have any type of pointers?

CSS:

 form-label {arrow: guideline; cushioning:10 px 8px 0px 8px; min-width:60 px; text-align: right;}
. form-label,. form-field {float: left;}
. clear {clear: both;}
. form-row {screen: flex; margin-bottom:4 px; background-color: # 000000;}
. form-field input {box-sizing: border-box;- moz-box-sizing: border-box;- webkit-box-sizing: border-box; elevation:36 px; size:100%; max-width:100%;- webkit-flex:1;}
. form-field choose {elevation:36 px; margin-right:6 px;}

HTML:

<< div course=" form-row">
<> < div course=" form-label">
<> < tag for=" tag">> Tag:< .
<< div course=" form-field">
<> < input kind=" message" name=" tag" id=" tag" worth=""/>>.
<.
<< div course=" clear">
<> .
<.
<< div course=" form-row">
<> < div course=" form-label">
<> < tag for=" span">> Distance:< .
<< div course=" form-field"><> < choose name=" unit_for_radius" id=" unit_for_radius"><> < alternative worth=" CENTIMETERS">> Centimeter<  .
<< div course=" form-field"><> < input kind=" number" name=" span" id=" span" worth="" needed pattern=" d+"/>>.
<.
<< div course=" clear">
<> .
<.

Outcome:.
go into photo summary below

Attempted utilizing outright positioning that makes the input area broaden past the side of the container (moms and dad).

RELATED ARTICLES

Most Popular

Recent Comments