fezaoduke / 21DayRead

21天阅读
9 stars 0 forks source link

#21Day阅读# 2017-08-31 #22

Open fezaoduke opened 6 years ago

fezaoduke commented 6 years ago

倒计时 4天

签到

fezaoduke commented 6 years ago

你真的听懂了吗?

首先寻求去了解对方,然后再争取让对方了解自己。

zsio commented 6 years ago

python 函数的关键字参数

luvshri commented 6 years ago

day18 Redux middleware

benjamintshi commented 6 years ago

深入浅出 React 与 Redux 打卡Day 6

shiiiiiiji commented 6 years ago

Day17.持续交付与持续部署

izayl commented 6 years ago

Node 模块循环引用

AboyJack commented 6 years ago

TypeScript泛型

onezane commented 6 years ago

如何在mac系统运行servlet helloworld项目

regiondavid commented 6 years ago

继续翻译

caoyezi commented 6 years ago

cssText属性 js给元素修改样式,有以下几种类型:

div1.style.position="absolute";
div1.style.left="50px";

这个大家都很熟了,我也不多废话了

cssText语法

xx.style.cssText = "样式";
xx.style.cssText = "widht:100px;height:200px;backgorund:red";

从字面上,就看出了是css编辑的意思

好处:

减少单个单个的修改样式,减少冗余代码

坏处:

两个cssText放在一起,后执行的会把前面的样式清空,然后加上新的样式,类似于替换。 只是针对于js行间样式,不会更改css样式表里面的样式