无依赖的绝对定位

margin,text-align与绝对定位的巧妙用法

例子1:实现左右上角的图标覆盖,如图,

aaarticlea/png;base64,iVBORw0KGgoAAAANSUhEUgAAAS0AAAAmCAIAAAAeMVrOAAAgAElEQVR4nO29aXNb15nvm8/QX+C86fMZ7stTt7punTrnVt1z+5w+ncS2RGLamAFiIjVx1CySIql5lpNOTAB73gA4ASCJgTOVdN90t93pTttWHDu2Y8uWKJHYaz3Pc1+sDZCU5aS746Srq6z6166Frc1NUoUf/s+0tr7z2ZMvvtW3+lb/vvrOv/tP8K2+1bf6lsNv9a3+/fUyh7/5/Mm3+lbf6vfU78Xhrz/+hKTv/BF0ZhHOLMLpKj+zCGeWXqHTS3x4EYarfKjCBsv2wEKrf35vsMyGyjC4wAcXYKiMg2UaKtPgAvXPOxpYoP4FGirTcIWGKzRSdRbDFRpcoIF5GlygoSoOlHn/Autf4Kfm+fE5fmwWMkWWKfLeEmZKmClRqkhJk5ImpSzKFKl3hvpmqW+WMiWeLrJ0kaWLPF3EVAGTJvXoFNMoomJIYUGVh1Qe1iBqYMykmElRg2ImRXQKaxBSeVBhfrkl5ZlPRklBv4YBHQI682vcr/GAzv0a+BTw5MGdJdc0uabJo5BX4x4FvSpJGvlUcuWgOyvEXTnwyORTyaeBVwGfil6F3Hnsmoajb/GuaejOoiuH7jw5l6nkVcgjk0cmV5a6p6n7Lex6i3dnuTvPvTL3KNwt2x4VnCvz5M6RK0uuaXJn0Z1FdxZc0+ia5q5p7s6CR+ZeGXwK+hTuU5hXZj6FSwpICvlk8ub35cmJL0fXNAh1v8Vd09wrM59i+5SWT7F9Chf38SncK6NzZ5l8MvkU8ink0citkUulboW6ZDqap6N5OpKj16fpjSwdydEbWXx9Gl5/C17L4mtZfD2Hr2XhtSx87y3+/p/96ft/9qeP//N3/gj69cef/Bs5/M3nTz741Yd/HA7PLsK+lnBfi3h2Cc8swZlFGFnkI1U+XOFDZTa4YA8stIYWuOBwaAEGF2BoAYcWcGABT81R/zz1L9DAAg28isO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8z2QZC9IWpC1ImTzdXqctSJuQsgSHkNSxx8C4xeOm2DjSLlOJpysYENR52ICwAcH28+A6KP5rOfz/AfRYgF0zFbDNAAAAAElFTkSuQmCC" alt="" />

左边

 .icon-recom {
position: absolute;
line-height: 20px;
padding: 0 5px;
background-color: #f60;
color: #fff;
font-size: 12px;
}

右边也是同样的原理,在绝对定位的基础上,加上margin:-36px即vip这个元素的宽度即可,不加的话会出现在蓝色图片的右边,上一篇讲到过位置跟随的特性,不明白可以去参考

 .icon-vip {
position: absolute;
width: 36px;
height: 36px;
margin-left: -36px;
background: url(http://img.mukewang.com/5453048000015d8800360036.gif);
text-indent: -9em;
overflow: hidden;
}

例子2:下拉列表。通过上一个例子,是不是可以想到这种下拉的框应该怎么实现呢?

aaarticlea/png;base64,iVBORw0KGgoAAAANSUhEUgAAARsAAADPCAIAAABKl+L7AAAdWUlEQVR4nO2d72vs3J3Y/V/4pd/55d1AWD9h6TpvisNChxbKJaVgBaqaqGCxi2pQX6gsKkZ5MUNXYPRGfnGgI/aJ4jRbLJZVTbQp6rJqXNGsXKruRGyu5smja4/8Q5lE2fso+6SnL/RboxmPffWM/fh+Pxy4d85oNJLmfPT9niNzztpt9AsoUKB0Vdae/AigQHlJBYyCAqXLAkZBgdJlAaOgQOmygFFQoHRZwCgoULosyxp1c3t3fXsX5uX6DgqUD7GEt3fXt3c3t3c3d9F7GfXqYx8KFChFub65bZXqAUZhAHiWPIlRV5Pw5vYOjAJeIE9iVHB1dQ1GAS+SpzHq8ioEo4AXCRgFAF0CRgFAlzyJUZ++vZy0DfeBUcCXHjAKALoEjAKALgGjAKBLwCgA6BIwCgC6ZHkN/vF/+fmf/vSX1+8+Tz/4N9ef/fGPb77yXTAKACos6cC3f3R199nn6P9O/8V/ffvqY//rP/j5v/lvk/8Vfvbjq3e/9/1PwCgAyFhGgH+ifXr97vN/ZVw16r/yXf8Hf/ers09+DUYBQMYyApx98mvxb6LWt76qjt/88jf/+i+bsoFRwAfKva3/d783/vU//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5yOpwrIjes3lRajinS6lhSDUS92bQ4cu4jhRZFNR5yXjFHlN5VBqzJ8PGes7z3XAcEYOzKnhzjxFE60mkkcLl/faxQrCEw+xucp2VOuyJKQoc1cu0DnGWQ6usjSvOI0b27tRjlFmCzT6dqPKJoRDnUOjHppa3PEvsZny8IEpiiovt36PGreo5NAY9JR9SJrTKkZVTuc91gHJPY1nhEEQTSDuaN484421LnKem8u4uctMFA92CR0DZmjObW4vKGj8DQrGpUn7g2jbFsiCJJmOCUdavQUdt7CcJEhfLjdqBe6NkdoCIJe/3uMxTEqJ7GldKWa3Eajr1bbTfrRbDlRkuqbXTScQJfTW4ghcTTdHNemSaKybHZxtI6crakjVI6hLZH2NJZhGIZJQ3Wg8wwjyIbTEtZj3xC5tuHyltzA18TZgf3sqjCC6n24i/HA3/UBQJeAUQDQJWAUAHQJGAUAXQJGAUCXgFEA0CVgFAB0CRgFAF3yeKNuo1+Et3fB5RUYBQAFb68mweVVeHs368v9Rl3f3gVXV2+vJlCgQClKcHV1/Tijbm7vribhJ58GP/PHf/fGz8rPoED5IMsb/2f++JNPg6tJePNIo+6i65vbq0kYXF0Fl3m5ggLlgyyXV8HV1dUkvG7rRC1lVCrVze3d9e1dmJfrOyhQPsQS3t5d397d3N616rSsUVCgQFmygFFQoHRZwCgoULosYBQUKF2W/w/iccYPEz5rqwAAAABJRU5ErkJggg==" alt="" />

和例子1同样的道理,下拉框设置无依赖的绝对定位后,margin-top设置输入框的高度就行了

此外,如果在这种absolute和margin的基础之上,加上父级的text-align:center,可以实现水平居中的效果,非常惊人

04-23 13:00