练习目的

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. 11款新品,一切为了落地!商汤:普惠AI的时代,来了
  2. iOS 开发中需要注意的小地方
  3. (十一)Json文件配置
  4. Ubuntu下安装Balsamiq Mockups
  5. Python pickle库
  6. 【笔试/面试】—— Linux 查看 cpu 和内存使用情况
  7. sql like不包括_SQL Like – SQL不喜欢
  8. 获取Android包名和activity名
  9. react之组件异步加载
  10. 显示器是计算机多媒体的什么设备,多媒体输入设备有哪些
  11. android按钮半透明
  12. android 转发朋友圈,微信怎么转发朋友圈 转发朋友圈方法详细教程
  13. 工业无线技术在未来工厂运营中的机遇和挑战
  14. easyui datagrid mysql分页_Easyui 自定义分页_EasyUI 教程
  15. 团队的英文翻译缩写_团队的英语是什么?简写呢?
  16. 计算机作业攒机单,计算机攒机作业.docx
  17. 惠普喷墨打印机Smart Tank 519打印错误的解决
  18. GTSAM中ISAM2和IncrementalFixedLagSmoother说明
  19. 浏览器--搜索操作符15个实例
  20. nginx keepalived高可用集群主从模式

热门文章

  1. 正交试验设计例题及答案_【正交试验设计法是】试验设计与分析试题及答案
  2. 北大青鸟S2MySQL内测题答案_ACCP 北大青鸟 S2 结业项目机试答案
  3. 画图别存为png 透明_怎么样是使(PNG格式)图片背景透明
  4. HyperMesh二次开发教程 - 前言
  5. 鲁大师从服务器获取信息失败怎么办,云服务器 鲁大师
  6. 分享30个优秀的网站导航设计案例
  7. 区块链的出现是否能够挽救岌岌可危的微商?小心那些伪营销精英
  8. mysql too long_mysql中data too long for column错误的一种解决办法
  9. win10上不了网服务器未响应,win10的DNS 服务器未响应
  10. 如何打开usb计算机连接网络设置,usb共享网络怎么用