@font-face “笑脸”在哪里? (src: local('the_smiley_image')) 来自?

发布于 2024-12-12 04:22:24 字数 299 浏览 1 评论 0原文

我有一本关于令人惊叹的 css3 的好书,它谈论使用 src: local('a_smiley_image') 并且它显示了正在使用的实际笑脸图像。
我不知道我应该实际输入什么来使其显示,因为它看起来肯定不像“:)”
我唯一的选择是从显示“☺”的网络帖子中复制和发布吗?
我还知道 unicode 是 &#x263A 用于插入实际的 html 网页,但是我想在 Ubuntu(第一个)、Mac(第二个)和 Windows(第三个)上的常规编辑器或 IDE 中使用它 - 因为最后当天给出的使用笑脸字体的解决方案意味着这样做:)

I have the great book on stunning css3 and it's talking about using src: local('a_smiley_image') and it's showing an actual smiley image being used.
I have no idea what I should actually type to make that appear as it certainly does not look like a ":)"
Is my only option to copy and post from web posts that shows "☺" like that ?
I also know the unicode is ☺ for inserting into actual html web pages, however I want to use it in a regular editor or IDE on Ubuntu (1st), Mac's (2nd) and Windows (3rd) - because at the end of the day the solution given of using smiley-face for the font implies doing this :)

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(1

鸠魁 2024-12-19 04:22:24

在另一个问题上找到了这个,所以我可以把它贴在这里,这里是:

src: local("☺")

鉴于没有其他答案,我将使用这个。

Found this on another question so I can past it here and here it is:

src: local("☺")

Given no other answer I will use this.

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文