|
主题设置

卡片式面板通常用于非白色背景色的主体内

鼠标样式

在 CSS 中,可以使用 cursor 属性来定义鼠标指针的样式,这个属性可以改变在不同元素上悬停时鼠标指针的样式。

笔记内容

<!DOCTYPE html>
<html lang="en">
	<head>
		<meta charset="UTF-8">
		<title>鼠标样式</title>
		<style>
			.content{
				/* 鼠标样式 */
				/* 更多样式见:https://www.runoob.com/try/try.php?filename=trycss_cursor */
				cursor: default;	/* 默认的三角样式 */
				cursor: pointer; 	/* 小手样式 */
				cursor: text;		/* 选择文本样式 */
				cursor: move;		/* 拖拽的十字架样式 */
				cursor: not-allowed;/* 禁止指针,表示不允许某项操作 */
			}
		</style>
	</head>
	<body>
		<div class="content">

		</div>
	</body>
</html>