diff --git a/source/_posts/前端杂烩/重新认识display.md b/source/_posts/前端杂烩/重新认识display.md
index 4c47299..2da1da2 100644
--- a/source/_posts/前端杂烩/重新认识display.md
+++ b/source/_posts/前端杂烩/重新认识display.md
@@ -95,6 +95,41 @@ width的默认值是`auto`

更好的办法是借助流动性无宽度布局
+例外的是`textarea`和`input`, 他们都自带border和padding, 并且如果强行清除padding, 内容会顶着边框, 并不美观
+但是即使设置他们的display是block , 也不会自适应父容器宽度
+这种情况下是 **必须**用到`box-sizing: border-box`的
+```html
+
+
+
+
+
+
+
+```
+```css
+.box {
+ width: 300px;
+ height: 150px;
+ border: 1px solid red;
+}
+.box > textarea, .box > input {
+ display: block;
+ width: 100%;
+}
+.box > textarea.border, .box > input.border {
+ box-sizing: border-box;
+}
+```
+
+
+##### height:auto
+与width相比, height就简单许多了, 因为CSS默认的流是水平方向的
+宽度是稀缺的, 高度是无限的
+多数情况下都是内部元素高度总和多高, 父元素就有多高 ( 子元素未脱离标准流 )
+需要注意的一点就是
+**高度的百分比值要想起作用, 父元素必须有可以生效的高度值**
+
#### 自适应性
简单来说就是内容越多 , 宽度越宽
如果这个宽度达到了父容器的宽度, 则会自动换行
diff --git a/source/images/前端杂烩/textarea_and_input.png b/source/images/前端杂烩/textarea_and_input.png
new file mode 100644
index 0000000..7534483
Binary files /dev/null and b/source/images/前端杂烩/textarea_and_input.png differ