css3 - CSS 中让文本紧贴图片边缘的属性
伊谢尔伦
伊谢尔伦 2017-04-17 11:49:57
0
6
540

之前忘记在哪看到过, 现在要用了, 想不起来了, 如果有博客请一起贴上。

效果就是下面这样:

伊谢尔伦
伊谢尔伦

小伙看你根骨奇佳,潜力无限,来学PHP伐。

reply all(6)
刘奇

Wrap text, read this article http://www.cnblogs.com/pssp/p...

伊谢尔伦

float

左手右手慢动作

After setting the imagefloat:left, the text will wrap around the image

PHPzhong

Pictures are float, do not add float to the text, just add relevant modifications to the text, such as line height, font size, etc.

Peter_Zhu

Float the images and clear the margins of the images at the same time, so that they will be close to each other. Add margin and spread them out a little apart

迷茫
shape-outside: circle(50%) content-box;/*实际参照content-box default:margin-box    other:ellipse(30% 50%) polygon() 内减inset() circle()*/

http://codepen.io/xiaole-s/pe...

Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template