练习目的

aaaa

完整代码

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>Rounded Corner Test</title>
<style type="text/css">
<!--
body {font-family: Arial;font-size: 12px;line-height: 1.5;background-color: #ff9;/*width: 750px;*/
}
.rounded {width: 90%;background-image: url(images/left-top.gif);background-repeat: no-repeat;background-position: left top;max-width:820px;
}
.rounded h3 {background-image: url(images/right-top.gif);background-repeat: no-repeat;background-position: right top;margin: 0px;padding-top: 20px;padding-right: 20px;padding-bottom: 10px;padding-left: 20px;
}
.rounded .main {background-image: url(images/right.gif);background-repeat: repeat-y;background-position: right top;margin-top: -2em;margin-right: 0px;margin-bottom: 0px;margin-left: 0px;padding-top: 10px;padding-right: 20px;padding-bottom: 10px;padding-left: 20px;
}
.rounded .footer p {background-image: url(images/right-bottom.gif);background-repeat: no-repeat;background-position: right bottom;margin-top: -2em;margin-right: 0px;margin-bottom: 0px;margin-left: 0px;padding-top: 10px;padding-right: 20px;padding-bottom: 20px;padding-left: 20px;
}
.rounded .footer {background-image: url(images/left-bottom.gif);background-repeat: no-repeat;background-position: left bottom;
}
-->
</style>
</head><body>
<div class="rounded"><h3>title</h3><div class="main"><p>text1</p><p>text2</p></div><div class="footer"><p>footer </p></div>
</div>
</body>
</html>

效果抓图

Rounded Corner Test相关推荐

  1. ImageView设置rounded corner

    版权声明:本文为xing_star原创文章,转载请注明出处! 本文同步自http://javaexception.com/archives/207 ImageView设置rounded corner ...

  2. html svg折线带圆角,SVG / d3.js上的矩形的一个角的圆角(svg / d3.js rounded corner

    我知道SVG有一个内置的功能做圆角,但我需要做的仅在四角的2圆角. 我知道我可以互相模仿的是顶部绘制多个矩形,但似乎有点俗气. 任何方式使用裁剪或任何d3.js的方法来做到这一点? 现在我有了rect ...

  3. Android Material Design按钮样式

    本文翻译自:Android Material Design Button Styles I'm confused on button styles for material design. 我对材质设 ...

  4. iPhone应用程序图标 - 精确半径?

    本文翻译自:iPhone App Icons - Exact Radius? I'm trying to create the icon for my iPhone app, but don't kn ...

  5. JS无法获取display为none的隐藏元素的宽度和高度的解决方案

    在实际开发中会遇到确实需要获取隐藏元素的宽高,这儿所说的隐藏元素是display为none的元素. 可使用jQuery Actual Plugin插件来完成,其源码如下: ;( function ( ...

  6. os项目icon和default 等相关图标命名规则和大小设置

    最新的参考apple官网地址:https://developer.apple.com/library/ios/qa/qa1686/_index.html,网页下面有详细的使用方法(ios7以后的) 转 ...

  7. [jQuery]无法获取隐藏元素(display:none)宽度(width)和高度(height)的新解决方案

    在做茶城网改版工作的时候,又遇到一个新问题,我需要用jQuery写一个通过点击左右图标来翻阅图片的小插件,写好后测试可以正常运行,但是放到Tab中后发现只有第一个Tab中的代码能够正常运行,其它全部罢 ...

  8. 安卓开发之Intent系统调用系统相机Camera(中软杯项目)

    文章目录 出现了FileUriExposedException 原因: 出现了动态权限问题 原因: 动态申请权限博客 解决了权限问题,但是拍照没法显示于imageview 原因 误点拍照后返回程序崩溃 ...

  9. Android中CardView的简单使用

    Android 5.0的一个新增加的控件CardView. 环境配置 在Android Studio中进行使用,我们需要只需要在Gradle中添加CardView包的依赖即可进行使用. [html]  ...

最新文章

  1. python作用域链_具有动态特性的Python嵌套作用域
  2. 使用JBoss AS 7进行SSL加密的EJB调用
  3. python匿名函数调用_python中引用局部变量的匿名函数
  4. building tool
  5. NB-IoT适用于电子门锁通信吗?
  6. 【APP】取代top工具的Linux运维利器--htop
  7. 对计算机硬件的工作原理的认识,计算机硬件的认识与安装.doc
  8. Hadoop-熟悉常用的HDFS操作
  9. Java String 类型对象不能改变
  10. 戴尔optiplex3020主板接线_戴尔XPS 13 2020上手,12999元的高端精致怪,让苹果也很有压力!...
  11. bzoj4199luogu2178 noi2015品酒大会 后缀数组
  12. apache启动服务失败
  13. Redis的五种基础数据结构和三种高级数据结构
  14. 一个简单的字符串,为什么 Redis 要设计的如此特别
  15. Linux 多线程编程(三)
  16. const , 拷贝构造函数,赋值操作符重载
  17. 用c++做双人枪战游戏
  18. S32DS 设置不同编译参数
  19. Comparable接口、Comparator接口、Cloneable接口
  20. 【MATLAB教程案例91】将MATLAB程序转化为C语言

热门文章

  1. Intel 英特尔CPU带字母
  2. 极速office(Word)文件怎么在方框里面打对勾
  3. ecshop打开手机端QQ对话窗口
  4. 世界 6 大航空动力巨头企业
  5. NVMe 协议详解(一)
  6. Pytorch 锚框
  7. 自定义 iPhone 铃声
  8. 一只青蛙一次可以跳上1级台阶,也可以跳上2级台阶。求该青蛙跳上一个 n 级的台阶总共有多少种跳法。
  9. 2021年中国企业风险投资发展现状及未来发展趋势分析[图]
  10. 读取MoleBox打包的可执行文件中的数据文件一法