自定义博客皮肤VIP专享

*博客头图:

格式为PNG、JPG,宽度*高度大于1920*100像素,不超过2MB,主视觉建议放在右侧,请参照线上博客头图

请上传大于1920*100像素的图片!

博客底图:

图片格式为PNG、JPG,不超过1MB,可上下左右平铺至整个背景

栏目图:

图片格式为PNG、JPG,图片宽度*高度为300*38像素,不超过0.5MB

主标题颜色:

RGB颜色,例如:#AFAFAF

Hover:

RGB颜色,例如:#AFAFAF

副标题颜色:

RGB颜色,例如:#AFAFAF

自定义博客皮肤

-+

CX的博客

前端开发

  • 博客(8)
  • 收藏
  • 关注

原创 vant引入iconfont字体图标

Vant Grid宫格: <van-grid-item icon="photo-o" text="文字" />属性说明:icon.css.iconfont { font-family: "iconfont" !important; font-size: 16px; font-style: normal; -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: graysca.

2022-01-03 14:40:07 1024

原创 [Vue warn]: Failed to resolve directive: lazy

使用vant swiper问题

2021-12-24 15:39:53 1544

原创 iconfont显示小方块

原代码:main.js:import 'src/assets/styles/iconfont/iconfont.css'header.vue: <span class="icon-jiantou"></span>iconfont.css:.iconfont { font-family: "iconfont" !important; font-size: 16px; font-style: normal; -webkit-font-smo.

2021-12-24 15:37:28 1134

原创 position:sticky无效

一、源代码html: <ul> <li>1</li> <li>2</li> <li>3</li> <li>4</li> </ul>css:ul{ list-style-image: url("src/1.jpg"); height: 100px; overflow: s

2021-11-30 15:37:02 805

原创 word-spacing无效

问题:使用word-spacing,字/字母之间间距不改变原因:word-spacing作用对象是“词”,字符之间要有空格letter-spacing作用对象是字符,无需空格

2021-11-29 09:27:05 780 1

原创 无法用button的onclick方法对video进行操作

JS无法用button的onclick方法对video进行相关操作

2021-11-26 16:16:35 464 1

原创 在图片上设置遮罩层

实现如下遮罩效果:遮罩层设置

2019-06-03 18:05:52 3808

原创 实现DIV内img图片水平垂直居中的方法

如何实现DIV内的img图片水平垂直居中的方法?方法一:运用flex对父元素<div class="main">进行css样式设置:{display:flex;justify-content: center;align-items: center;}方法二:vertical-align<img>是行内元素,line-height设置的是块级元素...

2019-06-02 18:55:38 5456

空空如也

空空如也

TA创建的收藏夹 TA关注的收藏夹

TA关注的人

提示
确定要删除当前文章?
取消 删除