[英]CSS to mark up text to look like the sample provided?
I have seen css that can make text look like an image in the past. 我见过css可以让文字看起来像过去的图像。 I am not a front end developer so my CSS is very rusty...
我不是前端开发人员所以我的CSS非常生疏......
I am trying to use a DIV tag and markup the text in each div tag to look like the image samples below. 我正在尝试使用DIV标记并将每个div标记中的文本标记为下面的图像示例。 notice there is a space between each letter.
注意每个字母之间有一个空格。
if there is a WHYSIWYG CSS editor online that allows for this type of formatting that would be a great resource to have. 如果在线有一个WHYSIWYG CSS编辑器允许这种类型的格式化,这将是一个很好的资源。
EDIT: The hardest part for me is getting a blue square around the first letter!!! 编辑:对我来说最困难的部分是在第一个字母周围得到一个蓝色方块!
Very quickly, something like this? 很快,这样的事情?
http://jsfiddle.net/eW532/ http://jsfiddle.net/eW532/
EDIT: Misread...You're talking about the spacing. 编辑:误读......你在谈论间距。
EDIT again: http://jsfiddle.net/eW532/1/ 再次编辑: http : //jsfiddle.net/eW532/1/
看起来你需要CSS字母间距属性: http : //www.w3schools.com/css/pr_text_letter-spacing.asp
you could use the css rule: letter-spacing: 1px;
你可以使用css规则:
letter-spacing: 1px;
or something, there are more in-depth solutions that require different languages though. 或者说,有更深入的解决方案需要不同的语言。
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.