- 博客(6)
- 收藏
- 关注
原创 css 优化、提高性能的方法
加载性能压缩CSS通过link方式加载,而不是@import复合属性其实分开写,执行效率更高,因为CSS最终也还是要去解析如 margin-left: left;选择器性能尽量少的使用嵌套,可以采用BEM的方式来解决命名冲突尽量少甚至是不使用标签选择器,这个性能实在是差,同样的还有*选择器利用继承,减少代码量渲染性能慎重使用高性能属性:浮动、定位;尽量减少页面重排、重绘;css雪碧图自定义web字体,尽量少用尽量减少使用昂贵属性,如box-shadow/border-radiu
2021-03-01 10:05:38
107
原创 css效果
背景模糊backdrop-filter: saturate(180%) blur(1em);-webkit-backdrop-filter: saturate(180%) blur(1em);12倒影-webkit-box-reflect: below -60px -webkit-gradient(linear,right 60%,right bottom, from(rgba(0,0,0,0)),to(rgba(255,255,255,0.3)));1文字凸起text-shadow: 1
2021-03-01 10:04:14
60
原创 jsp商品增加以及订单的删除
jsp界面 </c:forEach> < a href="javascript:" οnclick="deleteSelectRow()">< img src="cart/images/taobao_del.jpg" alt="delete"/> 商品总价(不含运费): 元 可获积分 点 is界面// JavaScript Document/增加所购商品的数量/funct
2021-03-01 10:03:09
538
原创 使用jsp+servlet实现增加和删除
在这里插入代码片import java.sql.Connection;import java.sql.PreparedStatement;import java.sql.ResultSet;import java.sql.SQLException;import java.util.ArrayList;import java.util.List;import ceet.ac.cn.model.Admin;public class AdminDao { public List<
2021-03-01 10:02:43
377
原创 使用 jsp查询功能
$("#toSearchAllBtn").on(“click”,function(){$.get(“findAllEnterprise”,{},function(listenterPriseInfo){/* console.log(listhenterPriseInfo); /if (listenterPriseInfo.length > 0) {$("#tbenterPriseInfo").empty();$.each(listenterPriseInfo, function(i, en
2021-03-01 10:02:00
225
原创 HTML简单登录界面
用户登录.html<meta http-equiv="keywords" content="keyword1,keyword2,keyword3"><meta http-equiv="description" content="this is my page"><meta http-equiv="content-type" content="text/html; charset=UTF-8"><!--<link rel="style...
2021-03-01 10:01:06
428
空空如也
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人