# Css 制作文字镂空（描红）的方法。

**URL:** <https://forum.freemdict.com/t/topic/23535>\
**Category:** 词典装饰排版交流分享\
**Created:** [2023 年9 月 20 日 09:58 UTC](https://forum.freemdict.com/t/topic/23535 "2023-09-20T09:58:24Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

作者： ![mdict6](https://forumcdn.freemdict.com/letter_avatar_proxy/v4/letter/m/8491ac/32.png) [@mdict6](https://forum.freemdict.com/u/mdict6)\
发布日期： [2023 年9 月 20 日 09:58 UTC](https://forum.freemdict.com/t/topic/23535/1 "2023-09-20T09:58:25Z")

</div>

在“别的”网站[http://biede.com](http://biede.com)看到这个字体镂空效果挺有意思，实现也非常简单，只要两行CSS:

```auto
color: transparent; 
-webkit-text-stroke: 1px #000;

```

![image](https://forumcdn.freemdict.com/uploads/default/original/3X/c/3/c351e20ccb85fea5c3b8ad335915dc94c810e3c4.png)

用来做个字帖描红，或者词典的上展示笔画
