我需要一个纯粹的CSS代码.. [英] i need a pure css code..
本文介绍了我需要一个纯粹的CSS代码..的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
有没有人知道如何在纯CSS代码中执行此操作..我需要你帮助的人..请查看下面的图片:) :)
http://tinypic.com/view.php?pic=2ivmzxw&s=6
[ ^ ]
http://tinypic.com/r/2ivmzxw/6 [ ^ ]
[ IMG] http://i49.tinypic.com/2ivmzxw.jpg [/ IMG]
Is there anybody knows how to do this in pure css code.. i need your help guys .. please check the image below:):)
http://tinypic.com/view.php?pic=2ivmzxw&s=6
[^]
http://tinypic.com/r/2ivmzxw/6[^]
[IMG]http://i49.tinypic.com/2ivmzxw.jpg[/IMG]
推荐答案
HI,
是的,你可以这样做。我想在图像中你指的是右边角有一个圆圈的黑色div。
为此需要2个div并应用css属性(border-radius: 20px;)到一个div然后将div放到你想要的所需位置。这里border-radius
属性允许你使div循环。对于背景颜色,您可以使用background-color
属性。对于allignment,您可以使用float
。
这将帮助您解决问题。
谢谢
Yes you can able to do so. I think in the image you are pointing to the black div having a circle at the right corner.
For that take 2 divs and apply css property (border-radius: 20px;) to one of the div and then place the div to the required position as you wanted. Here theborder-radius
property allow you make the div circular. For background colors you can usebackground-color
property. For allignment you can usefloat
.
This will help you in solving the problem.
Thanks
这篇关于我需要一个纯粹的CSS代码..的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文