css实现的将英文单词进行大小写转换代码实例_html/css_WEB-ITnose

WBOY
Release: 2016-06-24 11:27:29
Original
1492 people have browsed it

css实现的将英文单词进行大小写转换代码实例:
本章节分享一段代码实例,它实现了利用CSS将英文单词进行大小写转换效果。
代码非常的简单,相关属性的更多内容可以自行在本站查询。
代码实例如下:

<!DOCTYPE html><html><head><meta charset="utf-8"><meta name="author" content="http://www.51texiao.cn/" /><title>蚂蚁部落</title><style type="text/css"> h1{text-transform:uppercase} p.uppercase{text-transform:uppercase}   p.lowercase{text-transform:lowercase}  p.capitalize{text-transform:capitalize } </style></head><body>  <p class="uppercase">This is a test.</p>  <p class="lowercase">This is a test.</p>  <p class="capitalize">This is a test.</p></body></html>
Copy after login

原文地址是:http://www.softwhy.com/forum.php?mod=viewthread&tid=17832

更多内容可以参阅:http://www.softwhy.com/divcss/

source:php.cn
Statement of this Website
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn
Popular Tutorials
More>
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template