Skip to content
体验新版
项目
组织
正在加载...
登录
切换导航
打开侧边栏
yuenblue
HtmlDemo
提交
28c46022
H
HtmlDemo
项目概览
yuenblue
/
HtmlDemo
通知
1
Star
0
Fork
0
代码
文件
提交
分支
Tags
贡献者
分支图
Diff
Issue
0
列表
看板
标记
里程碑
合并请求
0
DevOps
流水线
流水线任务
计划
Wiki
0
Wiki
分析
仓库
DevOps
项目成员
Pages
H
HtmlDemo
项目概览
项目概览
详情
发布
仓库
仓库
文件
提交
分支
标签
贡献者
分支图
比较
Issue
0
Issue
0
列表
看板
标记
里程碑
合并请求
0
合并请求
0
Pages
DevOps
DevOps
流水线
流水线任务
计划
分析
分析
仓库分析
DevOps
Wiki
0
Wiki
成员
成员
收起侧边栏
关闭侧边栏
动态
分支图
创建新Issue
流水线任务
提交
Issue看板
前往新版Gitcode,体验更适合开发者的 AI 搜索 >>
提交
28c46022
编写于
11月 07, 2023
作者:
Y
yuenblue
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
No commit message
No commit message
上级
9bfa15e6
变更
3
隐藏空白更改
内联
并排
Showing
3 changed file
with
43 addition
and
0 deletion
+43
-0
Bootstrap-v5/Helpers/Ratios.html
Bootstrap-v5/Helpers/Ratios.html
+33
-0
Bootstrap-v5/Helpers/Untitled-1.css
Bootstrap-v5/Helpers/Untitled-1.css
+8
-0
Bootstrap-v5/utilities/display.html
Bootstrap-v5/utilities/display.html
+2
-0
未找到文件。
Bootstrap-v5/Helpers/Ratios.html
0 → 100644
浏览文件 @
28c46022
<!doctype html>
<html>
<head>
<meta
charset=
"utf-8"
>
<title>
Ratios
</title>
<link
href=
"../../node_modules/bootstrap/dist/css/bootstrap.css"
rel=
"stylesheet"
type=
"text/css"
>
<script
type=
"text/javascript"
src=
"../../node_modules/bootstrap/dist/js/bootstrap.bundle.min.js"
></script>
</head>
<body>
<h1>
测试Ratios
</h1>
<div
class=
"container"
>
<div
class=
"row"
>
<div
class=
"col ratio ratio-1x1 border"
>
<div>
1x1
</div>
</div>
<div
class=
" col ratio ratio-4x3 border"
>
<div>
4x3
</div>
</div>
<div
class=
"col ratio ratio-16x9 border"
>
<div>
16x9
</div>
</div>
<div
class=
"col ratio ratio-21x9 border"
>
<div>
21x9
</div>
</div>
</div>
<div
class=
"row"
>
</div>
</div>
</body>
</html>
Bootstrap-v5/Helpers/Untitled-1.css
0 → 100644
浏览文件 @
28c46022
@charset
"utf-8"
;
/* CSS Document */
/*
.row .ratio:nth-child(1){
}
*/
Bootstrap-v5/utilities/display.html
浏览文件 @
28c46022
...
...
@@ -11,6 +11,7 @@
<div
class=
"container"
>
<h1>
我的第一个 Bootstrap 页面
</h1>
<p>
这是一些文本。
</p>
<div>
<div
class=
"d-inline p-2 bg-primary text-white"
>
d-inline
</div>
<div
class=
"d-inline p-2 bg-dark text-white"
>
d-inline
</div>
...
...
@@ -18,6 +19,7 @@
<div><span
class=
"d-block p-2 bg-primary text-white"
>
d-block
</span>
<span
class=
"d-block p-2 bg-dark text-white"
>
d-block
</span></div>
<!-- <div class="d-lg-none">在 lg 及更大尺寸的屏幕上隐藏</div>-->
<div
class=
"d-none d-lg-block"
>
在小于 lg 尺寸的屏幕上隐藏
</div>
<div>
×
</div>
</div>
</body>
</html>
\ No newline at end of file
编辑
预览
Markdown
is supported
0%
请重试
或
添加新附件
.
添加附件
取消
You are about to add
0
people
to the discussion. Proceed with caution.
先完成此消息的编辑!
取消
想要评论请
注册
或
登录