Chrome浏览器不支持“写入模式”用于BUTTON标签? [英] Chrome does not support "writing-mode" for BUTTON tag?

查看:65
本文介绍了Chrome浏览器不支持“写入模式”用于BUTTON标签?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我刚刚发现了Chrome中的一个可能的错误,但是我找不到任何资源。

I just discovered a possible bug in Chrome but I am unable to find any resource.

似乎是书写模式不能在按钮标记上运行。

It seems that writing-mode does not run on BUTTON tag.

请参见生活示例了解详情。

<a href="#;" class="pippo">pippo</a>
<br><br>
<button class="pippo">pippo</button>

.pippo {
  writing-mode:vertical-lr
}

是否有任何解决方法可在Chrome中修复(在Firefox中正常运行)?

Is there any workaround to fix it in Chrome (in Firefox runs correctly)?

推荐答案

You can try this. 
 <button><p style="writing-mode:vertical-lr;">pippo</p></button>

这篇关于Chrome浏览器不支持“写入模式”用于BUTTON标签?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆