css 个人喜欢的样式 速查笔记

起因, 目的:

记录自己喜欢的, 觉得比较好看的 css.

下次用的时候,直接复制,很方便。

1 设置英语字体: Noto

html

html 复制代码
<link rel="preconnect" href="https://fonts.googleapis.com">
<link rel="preconnect" href="https://fonts.gstatic.com" crossorigin>
<link href="https://fonts.googleapis.com/css2?family=Noto+Serif:ital,wght@0,100..900;1,100..900&display=swap" rel="stylesheet">

css

css 复制代码
* {
  font-family: "Noto Serif", system-ui;
  font-optical-sizing: auto;
}

效果:

2. 导入bootstrap
html 复制代码
<!-- 导入自己的 css 文件 -->
<link rel="stylesheet" type="text/css" href="styles.css">

<!-- 导入 Bootstrap 的 CSS 文件 -->
<link href="https://cdn.jsdelivr.net/npm/bootstrap@5.3.3/dist/css/bootstrap.min.css" rel="stylesheet" integrity="sha384-QWTKZyjpPEjISv5WaRU9OFeRpok6YctnYmDr5pNlyT2bRjXh0JMhjY6hW+ALEwIH" crossorigin="anonymous">

走过路过,支持一下啊。

相关推荐
excel3 分钟前
Vue SSR 编译器源码深析:ssrTransformShow 的实现原理与设计哲学
前端
excel4 分钟前
深入解析 Vue 3 SSR 编译管线:ssrCodegenTransform 源码全解
前端
excel5 分钟前
深入解析 Vue SSR 编译器的核心函数:compile
前端
IT_陈寒6 分钟前
Vue 3性能优化实战:7个关键技巧让我的应用加载速度提升50%
前端·人工智能·后端
摇滚侠8 分钟前
Spring Boot3零基础教程,Reactive-Stream 发布订阅写法,笔记104 笔记105
java·spring boot·笔记
excel8 分钟前
Vue SSR 错误系统源码解析:createSSRCompilerError 与 SSRErrorCodes 的设计原理
前端
excel10 分钟前
Vue SSR 源码解析:ssrTransformModel 深度剖析
前端
excel10 分钟前
Vue SSR 运行时辅助工具注册机制源码详解
前端
excel10 分钟前
Vue SSR 源码解析:ssrProcessIf 条件渲染的服务端转换逻辑
前端
excel12 分钟前
深度解析:Vue 3 中 ssrTransformTransitionGroup 的实现原理与机制
前端