html固定在屏幕右下角的信息(提示信息,广告)
来源:互联网 发布:阿里云服务器如何重启 编辑:程序博客网 时间:2024/06/05 04:22
1.截图:
2.css:
.warning-msg {display:block; bottom:0px; right:0px; position:fixed;}* html .warning-msg {position:absolute; right:18px}.notification { font-family:Digital,'Microsoft YaHei',STFangsong; display: flex; margin: 0 auto; width: 300px; min-height: 70px;}.notification .info { flex: 1; padding: 10px 10px 0 10px; background: #6c7e98; border-radius: 3px 0 0 3px; border-bottom: 3px solid #c0cdd1;}.notification .info span { margin: 0; padding: 0; font-size: 16px; color: #fff;}.notification .info p { margin: 0; padding: 5px 0; font-size: 12px; color: #c5bebe;}.notification .info .button { display: inline-block; margin: 3px 3px 5px 0; padding: 3px 7px; border-radius: 2px; border-bottom: 1px solid; font-size: 12px; font-weight: bold; text-decoration: none; color: #ecf0f1;}.notification .info .button.gray { background: #95a5a6 ; border-bottom-color: #798d8f;}.notification .info .button { background: #435d8a; border-bottom-color: #435d8a;}
3.html:
<div class="warning-msg"> <div class="notification"> <div class="info"> <span></span> <p></p> <a href="#" class="button">详情</a><a href="#" class="button gray">忽略</a> </div> </div> </div>
0 0
- html固定在屏幕右下角的信息(提示信息,广告)
- javascript实现屏幕右下角弹出信息提示框
- 类似msn的右下角信息提示
- qq右下角信息提示框的实现
- 固定在网页右下角的js广告代码
- 弹出信息提示窗口的代码;在Windows系统桌面右下角弹出友情提示窗口
- 页面右下角提示信息框
- 用JS写的在网页右下角显示一个信息提示框
- 简单的html信息提示
- Extjs的Desktop弹出信息提示窗口的代码,在Windows系统桌面右下角弹出友情提示
- c# 实现在屏幕的右下角的提示窗口
- 仿msn,右下角信息提示页
- 右下角信息提示脚本&多级联动Select
- js插件-右下角弹出信息提示框
- 网页右下角的信息框
- 网页右下角的信息框
- CSS固定图片或元素在屏幕右下角
- html的input输入框提示信息
- Android全局获取Context
- 亚马逊的VR购物新体验!网购者的福利来了!
- 2017年省赛前最后一水---A题
- Spring Boot系列教程一:Eclipse安装spring-tool-suite插件
- AngularJS服务service用法总结
- html固定在屏幕右下角的信息(提示信息,广告)
- javaSwing教程
- 微服务架构之spring cloud (二)服务注册与发现
- 多线程
- linux文件与目录管理
- Centos 配置 VNCserver问题及解决
- Linux一些重要的头文件
- 仿百度图片实例
- ID3决策树算法(python实现)