CSS连字符引发错误(无效的属性值)

编程入门 行业动态 更新时间:2024-10-28 14:23:07
本文介绍了CSS连字符引发错误(无效的属性值)的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧! 问题描述

我想打断文本白色连字号,但它带来了一个错误:

I want to break a text whit hyphenation, but it brings an error:

上面写着:包含的属性值".

It says: "Invlaid property value".

但是在许多文档中,他们都说自动"值存在!

But in many docs they say, that the "auto" value exists!

它应该打破这种文本连字号:

It should break this text whit hyphenation:

我希望有人能帮助我!

推荐答案

添加到他们的答案中,以检查您是否在 caniuse/#feat=css-连字符

To add to their answers to check if you have the right browser at caniuse/#feat=css-hyphens

您还可以查看MDN的文档,并查看如何不支持您的语言词典.

You can also check MDN's documentation about it and see how your language dictionary may not be supported yet.

(滚动到底部以查看断字词典语言兼容性) developer.mozilla/zh-CN/docs/Web/CSS/连字符

(scroll to the bottom to see Hyphenation dictionary language compatibility) developer.mozilla/en-US/docs/Web/CSS/hyphens

甚至有一个关于Chrome的脚注:

There is even a footnote that says for Chrome:

没有自动连字符,仅支持 -webkit-hyphens:不支持.

更多推荐

CSS连字符引发错误(无效的属性值)

本文发布于:2023-10-24 09:16:12,感谢您对本站的认可!
本文链接:https://www.elefans.com/category/jswz/34/1523547.html
版权声明:本站内容均来自互联网,仅供演示用,请勿用于商业和其他非法用途。如果侵犯了您的权益请与我们联系,我们将在24小时内删除。
本文标签:字符   属性   错误   CSS

发布评论

评论列表 (有 0 条评论)
草根站长

>www.elefans.com

编程频道|电子爱好者 - 技术资讯及电子产品介绍!