无图片圆角表格

<script type="text/javascript"> </script> <script src="http://pagead2.googlesyndication.com/pagead/show_ads.js" type="text/javascript"></script>
<style type="text/css">
div#nifty{ margin: 0 10%;background: #9BD1FA}
p {padding:10px}

div.rtop, div.rbottom{display:block;background: #FFF}
div.rtop div, div.rbottom div{display:block;height: 1px;overflow: hidden; background: #9BD1FA}
div.r1{margin: 0 5px}
div.r2{margin: 0 3px}
div.r3{margin: 0 2px}
div.rtop div.r4, div.rbottom div.r4{margin: 0 1px;height: 2px}
</style>


<div id="nifty">
<div class="rtop"><div class="r1"></div><div class="r2"></div><div class="r3"></div><div class="r4"></div></div>
<p>Iueuouii eei iueoie i iooououe eoio eeeuoeio u eu ee uueeo</p>
<div class="rtop"><div class="r4"></div><div class="r3"></div><div class="r2"></div><div class="r1"></div></div>
</div>
 
  • 0
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 0
    评论
可以使用如下的 CSS 样式来实现: ```css aside { width: 300px; height: 858px; background-color: #6cf; font-size: 14px; color: #000; } aside table { border-collapse: collapse; border: 1px solid #BFBFBF; } aside img:nth-child(odd), aside img:nth-child(3n+1) { transform: rotate(7deg); } aside img:nth-child(even), aside img:nth-child(3n+2) { transform: rotate(-8deg); } aside .photo { position: relative; display: inline-block; width: 85px; height: 85px; border: 1px solid #BFBFBF; border-radius: 5px; box-shadow: 2px 2px 2px #aaa; overflow: hidden; margin: 5px; } aside .photo:hover img { transform: scale(1.2); } aside .photo img { position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%); transition: all .5s ease-out; } .content { width: 595px; background-color: #cff; } .content img { border: 5px solid #000; margin: 5px; } ``` 其中,`aside` 元素表示左侧的列,设置了宽度和高度以及背景颜色、字体和文字颜色。`aside table` 表示在 `aside` 中的表格,使用 `border-collapse: collapse` 让边框线重合为一条线,同时设置了边框颜色和粗细。`aside img` 表示在 `aside` 中的图片,使用 `transform` 属性让图片倾斜,并设置了阴影颜色、边框线和相框盒子的宽度和圆角边框。`aside .photo` 表示相框盒子,使用 `position: relative` 让相片和相框盒子位置对齐,同时设置了盒子宽度、高度、边框线和阴影颜色,以及相片悬停时的样式。`aside .photo img` 表示相片,使用 `position: absolute` 让相片绝对定位在相框盒子中心,同时设置了相片悬停时的样式。`content` 元素表示右侧的列,设置了宽度和背景颜色。`content img` 表示在 `content` 中的图片,设置了边框线和距离边框的距离。
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值