css-文本分散对齐
<style> text-align-last:justify; text-align:justify; text-justify:distribute-all-lines; // 这行必加,兼容ie浏览器 </style>css-左右分栏各自滚动
方式: 左右分别设置 h-screen, overflow-y-auto <body> <div class="flex"> <div class="h-screen overflow-y-auto w-1/6 bg-slate-500 text-white"> <div>sidebar</div> <div class="h-[1200px]">sidebar</div> <div>sidebar</div> <div>sidebar</div> </div> <div class="h-screen overflow-y-auto w-5/6 overflow-y-auto bg-blue-200"> <div>111</div> <div>111</div> <div class="h-[1200px]">111</div> <div>111</div> </div> </div> </body> 参考自csdn:
Recent Posts
Tags
- apache 4
- axios 1
- benchmark 1
- c 1
- canvas 1
- centos 3
- channel 1
- crontab 1
- css 2
- docker 4
- fail2ban 1
- frp 1
- gin 1
- github 1
- go 26
- goaccess 1
- goroutine 1
- http 1
- https 1
- jetbrains 1
- jquery 1
- js 2
- linux 20
- mermaid 1
- mysql 10
- nginx 3
- node 1
- php 43
- prisma 1
- react 8
- server 1
- ssh 2
- tarojs 1
- tcp/ip 1
- token 1
- ubuntu 1
- ufw 1
- unit-test 1
- vmware 1
- vscode 1
- vue 12
- yum 1
- 域名 3
- 安全 2
- 微信 3
- 算法 3