惯性聚合 高效追踪和阅读你感兴趣的博客、新闻、科技资讯
阅读原文 在惯性聚合中打开

推荐订阅源

量子位
cs.AI updates on arXiv.org
cs.AI updates on arXiv.org
F
Fortinet All Blogs
博客园 - 聂微东
奇客Solidot–传递最新科技情报
奇客Solidot–传递最新科技情报
Hugging Face - Blog
Hugging Face - Blog
V
Visual Studio Blog
小众软件
小众软件
有赞技术团队
有赞技术团队
雷峰网
雷峰网
钛媒体:引领未来商业与生活新知
钛媒体:引领未来商业与生活新知
AWS News Blog
AWS News Blog
C
Cisco Blogs
美团技术团队
T
Threat Research - Cisco Blogs
C
CERT Recently Published Vulnerability Notes
人人都是产品经理
人人都是产品经理
宝玉的分享
宝玉的分享
Threat Intelligence Blog | Flashpoint
Threat Intelligence Blog | Flashpoint
酷 壳 – CoolShell
酷 壳 – CoolShell
Stack Overflow Blog
Stack Overflow Blog
W
WeLiveSecurity
D
DataBreaches.Net
博客园 - 司徒正美
Blog — PlanetScale
Blog — PlanetScale
IT之家
IT之家
云风的 BLOG
云风的 BLOG
Cyber Security Advisories - MS-ISAC
Cyber Security Advisories - MS-ISAC
Simon Willison's Weblog
Simon Willison's Weblog
Google DeepMind News
Google DeepMind News
T
The Blog of Author Tim Ferriss
Know Your Adversary
Know Your Adversary
NISL@THU
NISL@THU
OSCHINA 社区最新新闻
OSCHINA 社区最新新闻
The Cloudflare Blog
Vercel News
Vercel News
月光博客
月光博客
T
Tailwind CSS Blog
H
Help Net Security
aimingoo的专栏
aimingoo的专栏
P
Proofpoint News Feed
Application and Cybersecurity Blog
Application and Cybersecurity Blog
Spread Privacy
Spread Privacy
cs.CL updates on arXiv.org
cs.CL updates on arXiv.org
Cisco Talos Blog
Cisco Talos Blog
Microsoft Security Blog
Microsoft Security Blog
V
V2EX
WordPress大学
WordPress大学
Cyberwarzone
Cyberwarzone
Recent Announcements
Recent Announcements

博客园 - looping

小米公司招聘前端--待遇不错 插入排序 insertion_sort js实现 JSLint for EditPlus 检验js语法 ECMA-262-3 深入解析.第四章. 作用域链 Vim 简洁手册 在 JavaScript 中监听 IME 键盘输入事件 英文已如此搞笑,翻译却更加残暴 古文中惊艳的句子 Nicholas C. Zakas vs John Resig 一场关于YUI3/jQuery的精彩辩论 浅谈 Mousewheel 事件 CSS HACK org.hibernate.TransientObjectException: object references an unsaved t... jquery 1.4 append 用法 获取文本中img路径(不是dom中的) [JavaScript]ECMA-262 深入解析 IIS 7.5 下PHP(FastCGI模式)配置手记 Remove duplicates from Array移除数组重复元素 js 翻转颜色 difference between echo and print in php
css 圆角效果,2例
looping · 2010-08-03 · via 博客园 - looping

1.你可以切成4个图,或者两个图。如下图

image

image 

2.代码

html

<div class="box">
    <div class="outer">
        <div class="inner">
            <h2>headlines</h2>
            <p>Content ,fdascot<br />
            Content ,fdascot<br />
            Content ,fdascot<br />
            Content ,fdascot<br />
            </p>
        </div>
</div>
</div>
<div class="box2">
<div class="outer2">
 <div class="inner2">
       <h2>headlines</h2>
       <p>Content ,fdascot<br />
            Content ,fdascot<br />
            Content ,fdascot<br />
            Content ,fdascot<br />
            </p>
 </div>
</div>
</div>

css

 .box{background:url(images/bottom_left.gif) no-repeat left bottom;width:300px;}
    .outer{background:url(images/bottom_right.gif)  no-repeat right bottom;padding-bottom:5%;}
    .inner{background:url(images/top_left.gif) no-repeat left top;padding-left:20px;}
    .inner h2{background:url(images/top_right.gif) no-repeat right top;padding-top:5% ;}
    
    .box2{background:url(images/corner-left.gif) no-repeat left bottom;width:300px;}
    .outer2{background:url(images/corner-right.gif)  no-repeat right bottom;padding-bottom:5%;}
    .inner2{background:url(images/corner-left.gif) no-repeat left top;padding-left:20px;}
    .inner2 h2{background:url(images/corner-right.gif) no-repeat right top;padding-top:5%;}

3,最终效果

image