兼容IE透明度解决方式

el/2023/6/3 17:09:04

div{

       opacity:0.4;

       filter:alpha(opacity:40);

}

http://www.ngui.cc/el/3419178.html

相关文章

js实现星星闪烁

js实现星星闪烁 <style>*{margin:0;padding:0;}html body{background-color: #000;}span{width:30

js实现照片墙效果

js实现照片墙效果 <script src="underScore.js"></script><style>*{margin: 0;padding: 0;border: 0;list<

使用transition-group中将index作为索引导致的错误,主要用在标签导航

(Emitted value instead of an instance of Error) Do not use v-for index as key on <transition-group> children, this is the same as not using keys. 举例说明&#xff1a; <el-breadcrumb separator"/" style"line-height: 30px;height:30px;…

Vue 实现橱窗效果(鼠标移入某个窗口,背景发生变化,底部内容同样发生变化,根据日期设置背景默认添加到某个窗口上,移动至某个窗口点击按钮定住,否则移出窗口背景默认滑到默认位置)

效果样式如上,实现橱窗效果(鼠标移入某个窗口,背景发生变化,底部内容同样发生变化,根据日期设置背景默认添加到某个窗口上,移动至某个窗口点击按钮定住,否则移出窗口背景默认滑到默认位置) <style lang=less scoped>/*设置志愿公告时间轴*/#homePageNavZy{width…

Error in nextTick: “TypeError: Cannot read property ‘__ob__‘ of undefined“

是因为当前vue组件中的 data(){ } 这个里面的内容未定义所以导致此错误&#xff0c;在未使用到data的时候将data这个方法删除即可解决

npm ERR! Cache input stream was empty

报错查看日志&#xff0c;找到Error: verbose stack Error: Cache input stream was empty 由于npm5使用了新的包管理模式&#xff0c;所以在升级之后&#xff0c;请先清空一下本地缓存。 解决方案1&#xff1a; npm cache clean --force 如果第一种不奏效可以尝试下面的命令&a…

vue init webpack ‘项目名称’ 运行报错

Command vue init requires a global addon to be installed. Please run npm install -g vue/cli-init and try again. 创建项目需要将vue-cli进行去全局安装 使用命令&#xff1a; npm install -g vue/cli-init

yarn包管理器的使用

一,yarn的相关配置和查看 查看配置列表 yarn config list npm config npm 修改包的下载服务器地址&#xff0c;配置淘宝的镜像 yarn config set registry https://registry.npm.taobao.org 二.yarn的使用 1、yarn初始化一个项目&#xff08;在项目目录下&#xff09;&#xff1…

有关keep-alive缓存路由的各种用法

keep-alive基本用法 include - 字符串或正则表达式。只有名称匹配的组件会被缓存。 exclude - 字符串或正则表达式。任何名称匹配的组件都不会被缓存。 max - 数字。最多可以缓存多少组件实例。 主要用于保留组件状态或避免重新渲染。 <!-- 基本 --> <keep-alive>…

uni-app,Hbuilder编辑器中运行微信小程序开发者工具调试窗口,报错

首先感谢这位大神的分享&#xff0c;原地址在这&#xff1a; https://segmentfault.com/a/1190000023191861 解决方式&#xff1a; 打开微信开发者工具&#xff0c;找到设置的安全设置&#xff1a; 选择安全&#xff0c;启动服务端口