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

推荐订阅源

Attack and Defense Labs
Attack and Defense Labs
T
Threatpost
C
Cybersecurity and Infrastructure Security Agency CISA
H
Hackread – Cybersecurity News, Data Breaches, AI and More
I
Intezer
C
Cyber Attacks, Cyber Crime and Cyber Security
The Register - Security
The Register - Security
量子位
Security Latest
Security Latest
奇客Solidot–传递最新科技情报
奇客Solidot–传递最新科技情报
大猫的无限游戏
大猫的无限游戏
小众软件
小众软件
Exploit-DB.com RSS Feed
Exploit-DB.com RSS Feed
C
CXSECURITY Database RSS Feed - CXSecurity.com
MyScale Blog
MyScale Blog
J
Java Code Geeks
Apple Machine Learning Research
Apple Machine Learning Research
Google DeepMind News
Google DeepMind News
WordPress大学
WordPress大学
Spread Privacy
Spread Privacy
Jina AI
Jina AI
博客园 - 【当耐特】
P
Palo Alto Networks Blog
Last Week in AI
Last Week in AI
SecWiki News
SecWiki News
Threat Intelligence Blog | Flashpoint
Threat Intelligence Blog | Flashpoint
cs.AI updates on arXiv.org
cs.AI updates on arXiv.org
G
GRAHAM CLULEY
宝玉的分享
宝玉的分享
Hacker News - Newest:
Hacker News - Newest: "LLM"
T
The Blog of Author Tim Ferriss
V
Vulnerabilities – Threatpost
有赞技术团队
有赞技术团队
T
Tor Project blog
H
Hacker News: Front Page
A
Arctic Wolf
NISL@THU
NISL@THU
A
About on SuperTechFans
云风的 BLOG
云风的 BLOG
Engineering at Meta
Engineering at Meta
V
V2EX
N
News and Events Feed by Topic
Webroot Blog
Webroot Blog
Know Your Adversary
Know Your Adversary
P
Privacy International News Feed
I
InfoQ
D
Docker
L
LINUX DO - 最新话题
K
KPMG report finds enterprise disconnect between AI and its ROI | CIO
U
Unit 42

博客园 - 白天的萤火虫

Net开源框架/项目,你研究过几个? 主题:实用且不花哨的js代码大全 关于模拟注册登录的 字字带泪-写在三十岁到来这一天 关于silverlight的安装 推荐一个IE下的优秀js调试工具(Companion.JS) 给分页控件增加一列 编号 关于Ajax的web配置 - 白天的萤火虫 - 博客园 一个行转列的例子 获取HTML代码 - 白天的萤火虫 - 博客园 最新Silverlight开发环境配置介绍 sql server中的存储过程调试 PetShop介绍集锦 button 绑定 enter键 转载---使用Ajax实现DropDownList和ListBox的联动以及两个ListBox之间数据的移动 自己调试通过的存储过程 又一个通用分页存储过程,支持表别名,多表联合查询SQL语句--转载 写入和读取cookie CascadingDropDown从数据库中读取数据绑定到DropDownList控件上
DIV+CSS实现圆角
白天的萤火虫 · 2008-07-16 · via 博客园 - 白天的萤火虫

原理就是在一个层上加二到三个层,不过这些层只有左右边线,最上和最下有背景色,然后它们都有长度差距,就这样了,以下是我做的例子:

<html
<head>
    <title>无标题页</title>
    <style>
.up1
{
    overflow:hidden;
    height:1px;
    margin-left:4px;
    margin-right:4px;
    background-color: Aqua;
    border-left:solid 1px Aqua;
    border-right:solid 1px Aqua;
}
.up2
{
    overflow:hidden;
    height:1px;
    margin-left:3px;
    margin-right:3px;
    border-left:solid 1px Aqua;
    border-right:solid 1px Aqua;
}
.up3
{
    overflow:hidden;
    height:1px;
    margin-left:2px;
    margin-right:2px;
    border-left:solid 1px Aqua;
    border-right:solid 1px Aqua;
}
.content
{
    margin-left:1px;
    margin-right:1px;
    height:100px;/*这里控件高度*/
    /*background-color: Aqua;*/
    border-left:solid 1px Aqua;
    border-right:solid 1px Aqua;
}
.down1
{
    overflow:hidden;
    height:1px;
    margin-left:2px;
    margin-right:2px;
    border-left:solid 1px Aqua;
    border-right:solid 1px Aqua;
}
.down2
{
    overflow:hidden;
    height:1px;
    margin-left:3px;
    margin-right:3px;
    border-left:solid 1px Aqua;
    border-right:solid 1px Aqua;
}
.down3
{
    overflow:hidden;
    height:1px;
    margin-left:4px;
    margin-right:4px;
    background-color: Aqua;
    border-left:solid 1px Aqua;
    border-right:solid 1px Aqua;
}
.cell
{
    width: 50px;/*这里控制宽度*/
}


</style>
</head>
<body>
    <div class="cell">
        <div class="up1">
        </div>
        <div class="up2">
        </div>
        <div class="up3">
        </div>
        <div class="content">
            这里放内容
        </div>
        <div class="down1">
        </div>
        <div class="down2">
        </div>
        <div class="down3">
        </div>
    </div>
</body>
</html>