mumu的个人博客

咬了一口的苹果


  • 首页

  • 关于

  • 标签56

  • 分类19

  • 归档67

  • 搜索

用css画三角形

发表于 2018-12-11 | 更新于 2019-05-24 | 分类于 CSS | 评论数:
1
2
3
4
5
6
7
.triangle{
height:0;
width:0;
border-left: 50px solid transparent;
border-right: 50px solid transparent;
border-top: 100px solid red;
}

画出的是一个倒立的三角形, 改为border-bottom就是一个正立的三角形。其中是底边为100px,高度为100px的等腰三角形。

阅读全文 »

js中一般怎么实现继承

发表于 2018-12-10 | 更新于 2019-06-03 | 评论数:

学习一下js的继承实现。

阅读全文 »

jquery中$的实现方式

发表于 2018-12-10 | 更新于 2019-05-24 | 分类于 jQuery | 评论数:

实现方式(网上找的)

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21

<script>
  (function(w){
//工厂
function jQuery(selector, context){
return new jQuery.fn.init(selector, context);
}
//给原型提供一个简写方式
jQuery.fn = jQuery.prototype = {

};
//init才是jQuery中真正的构造函数
var init = jQuery.fn.init = function(selector, context){
// 构造函数
};
//把构造函数的原型,替换为jQuery工厂的原型
//这么做的目的是为了实现jQuery的插件机制,让外界可以通过jQuery方便的进行扩展
init.prototype = jQuery.fn;
w.jQuery = w.$ = jQuery;
}(window));
</script>
阅读全文 »

webapp登录注册时的密码处理思考

发表于 2018-12-07 | 更新于 2019-05-24 | 分类于 其他 | 评论数:

webapp在登录的时候怎么控制登录的安全性?

目前通过https都可以解决这个问题。使用https自动加密传输的数据,从而解决传输密码明文的问题。然后在存储到数据库前通过md5或者其他加密算法进行加密。

阅读全文 »

virtualbox-centos7.5-wdcp

发表于 2018-12-04 | 更新于 2019-05-24 | 分类于 virtualbox | 评论数:

用于记录一次成功使用virtualbox虚拟机安装centos7.5成功联网并安装上wdcp

阅读全文 »

Markdown的基本使用

发表于 2018-11-29 | 更新于 2019-05-24 | 分类于 Markdown | 评论数:

记录markdown的使用方法

阅读全文 »

Hello World

发表于 2018-11-28 | 更新于 2019-05-24 | 评论数:

Welcome to Hexo! This is your very first post. Check documentation for more info. If you get any problems when using Hexo, you can find the answer in troubleshooting or you can ask me on GitHub.

阅读全文 »
1…67
YingCai Zhang

YingCai Zhang

银河系首席踩坑官@ 每天进步一点点1.01^365

67 日志
19 分类
53 标签
GitHub
Creative Commons
© 2019 YingCai Zhang
由 Hexo 强力驱动 v3.8.0
|
主题 – NexT.Pisces v6.5.0