鼠标样式cursor
语法:
li {
cursor: not-allowed;
}
属性值 | 描述 |
---|---|
default | 小白(默认) |
pointer | 小手 |
move | 移动 |
text | 文本 |
not-allowed | 禁止 |
表单轮廓线outline
给表单添加outline: 0; 或者 outline: none; 样式之后就可以去掉默认的蓝色边框
语法:
input {
outline: none;
}
文本域防止拖拽resize
实际开发中,我们文本域右下角是不可以被拖拽的
语法:
textarea {
resize: none;
}