惯性聚合 高效追踪和阅读你感兴趣的博客、新闻、科技资讯
阅读原文 在惯性聚合中打开

推荐订阅源

爱范儿
爱范儿
大猫的无限游戏
大猫的无限游戏
J
Java Code Geeks
MongoDB | Blog
MongoDB | Blog
Martin Fowler
Martin Fowler
GbyAI
GbyAI
Microsoft Azure Blog
Microsoft Azure Blog
Recent Announcements
Recent Announcements
F
Fortinet All Blogs
B
Blog
U
Unit 42
B
Blog RSS Feed
D
DataBreaches.Net
Google DeepMind News
Google DeepMind News
人人都是产品经理
人人都是产品经理
腾讯CDC
量子位
酷 壳 – CoolShell
酷 壳 – CoolShell
V
Visual Studio Blog
博客园 - 聂微东
MyScale Blog
MyScale Blog
奇客Solidot–传递最新科技情报
奇客Solidot–传递最新科技情报
博客园 - 三生石上(FineUI控件)
Engineering at Meta
Engineering at Meta

博客园 - calochCN

using webpack5 ubuntu 如何将任何app run为服务 这里想配置一下mysql主从,并归档,以备使用 hotkey resizer, rect win small app using C, tool utils Using ES6 Module In Browser. reprint, Use of logrotate go copy object deep深拷贝 go get net/http connections count, using middleware 手动数据库分库分片策略 记录一下ubuntu 挂载一下raid1 硬盘的过程 好久不弄css导航条,这里再布一下 sapui5 说说备案问题,说说发现的腾讯云和gitee这些国内服务商,使用过程中发现的一些猫腻 我最近觉得自己的收藏夹很乱,因为没有事情做,就想闲着给自己做个网址导航的软件【一】 学日语看到一个笑话 抽几分钟,写个文档系统的前端页面,先排版一下. 从前做前端的时候, 联通的好多html5活动, 页面布局如何整齐,回顾一个常用的 我依然没有用quest2串流过一次... 这次还是决定好好用hugo写一下模板系统
文字竖排,从上到下排列,仿古文的写法
calochCN · 2024-01-05 · via 博客园 - calochCN

<!DOCTYPE html>
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>这里填写标题</title>
<meta name="keywords" content="这里填写关键词" />
<meta name="description" content="这里填写说明内容" />

<script language="JavaScript" type="text/javascript">
<!--JS代码位置-->
</script>

<style type="text/css">
<!--CSS样式代码位置-->
.container {
   display: inline-block;
   width: 150px; /*根据需求调整宽度*/
   height: 150px;
   overflow: hidden;
}
 
.container p {
   writing-mode: vertical-rl; /*从右向左竖排*/
  float:right;

}
</style>

</head>

<body>

这里填写HTML代码
<div class="container">
    <p>这里是竖排的文本内容</p><br>
<p>这里是竖排的文本内容1</p>
<p>这里是竖排的文本内容2</p>
<p>这里是竖排的文本内容3</p>
<p>这里是竖排的文本内容4</p>
</div>

</body>
</html>

View Code

主要是writing-mode: vertical-rl; 这样,至于从右到左是float:right;了