background & background-image & border-image

https://developer.mozilla.org/en-US/docs/Web/CSS/background

https://developer.mozilla.org/en-US/docs/Web/CSS/border-image





https://developer.mozilla.org/zh-CN/docs/Web/CSS/background

https://developer.mozilla.org/zh-CN/docs/Web/CSS/border-image



background & radius border

background color & view bug

https://codepen.io/xgqfrms/full/JQeqXQ


linear-gradient

https://developer.mozilla.org/en-US/docs/Web/CSS/linear-gradient

https://codepen.io/xgqfrms/pen/WqEBLB

https://codepen.io/xgqfrms/pen/bPrymz


background-size

cover

https://developer.mozilla.org/zh-CN/docs/Web/CSS/background-size


.circle {
position: absolute;
width: 1.76rem;
height: 1.56rem;
line-height: 1.56rem;
/* background: url("../../images/guide/hexagon.png") cover no-repeat center center ; */
background: url("../../images/guide/hexagon.png") no-repeat center center ;
background-size: cover;
text-align: center;
vertical-align: middle;
cursor: pointer;
font-size: 0.28rem;
/* font-size: 0.16rem; */
color: #fff;
} /* iphone 6/7/8 */
/* width: 375px & height: 667px */
@media (min-width: 375px) and (max-width: 375px) and (orientation: portrait) {
.circle {
position: absolute;
width: 1.76rem;
height: 1.76rem;
line-height: 1.56rem;
background: url("../../images/guide/hexagon.png") no-repeat center center;
text-align: center;
vertical-align: middle;
cursor: pointer;
font-size: 0.16rem;
color: #fff;
}
.menu-text31 {
transform: translateX(0.55rem) translateY(-0.15rem);
}
.menu-text32 {
transform: translateX(-0.35rem) translateY(0.3rem);
}
} /* iphone 6/7/8 plus*/
/* width: 414px & height: 736px */
@media (min-width: 414px) and (max-width: 414px) and (orientation: portrait) {
.circle {
position: absolute;
width: 1.76rem;
height: 1.56rem;
line-height: 1.56rem;
background: url("../../images/guide/hexagon.png") no-repeat center center;
text-align: center;
vertical-align: middle;
cursor: pointer;
font-size: 0.16rem;
color: #fff;
}
.menu-text31{
transform: translateX(0.45rem) translateY(-0.15rem);
}
.menu-text32{
transform: translateX(-0.35rem) translateY(0.2rem);
}
}

最新文章

  1. .NET跨平台之旅:将QPS 100左右的ASP.NET Core站点部署到Linux服务器上
  2. ionic 发布 inoc显示不正确
  3. 定位和xml解析和gson解析加上拉加载,下拉刷新
  4. iis上json解析失败404
  5. 使用Markdown+Pandoc+LaTex+Beamer制作幻灯片
  6. 2013eoe移动开发者大会圆满落幕
  7. IOS学习之路十二(UITableView下拉刷新页面)
  8. POJ1061青蛙的约会(扩展欧几里得)
  9. jQuery 笔记
  10. 加一个 时间戳 TimeStamp 可以解决 重复提交问题 SqlServer
  11. 20160314 Request 和Response
  12. NOI2011 Day1
  13. Serialize a Binary Tree or a General Tree
  14. 背水一战 Windows 10 (69) - 控件(控件基类): UIElement - Manipulate 手势处理, 路由事件的注册, 路由事件的冒泡, 命中测试的可见性
  15. Android back键及backWebview模式跳转详解
  16. table表格超出部分显示省略号
  17. BZOJ2547 CTSC2002玩具兵(最短路径+二分答案+最大流)
  18. Nginx网站常见的跳转配置实例
  19. springboot之jar运行脚本
  20. linux下线刷硬盘

热门文章

  1. Linux网络数据包的揭秘以及常见的调优方式总结
  2. Java Socket实战之七 使用Socket通信传输文件
  3. Windows10 通过 ssh 映射 Linux 为盘符
  4. codevs3639
  5. Language Guide (proto3) | proto3 语言指南(十一)包
  6. Geospark-属性字段处理
  7. Git基本概念,流程,分支,标签及常用命令
  8. ubuntu下scala下载+集成IDEA开发环境
  9. linux最初配置( vimrc设置 、tab键设置 inputrc、中文输入法等等)
  10. dedecms文章页的上下篇颠倒的问题