CSS的隐藏功能 [英] Hidden features of CSS

查看:119
本文介绍了CSS的隐藏功能的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我已经在有关PHP和XHTML的隐藏功能样式问题中选择了一些有用的提示。

I have definitely picked up some useful tips in the hidden features style questions concerning PHP and XHTML.

这里是一个覆盖CSS。

So here is one to cover CSS. While easy to pick up, it takes a little while to learn about everything, their default behaviors, properties etc

这里有一些开始的球

@charset "UTF-8"; /* set the character set. must be first line as Gumbo points out in comments */

.element {
        /* takes precedence over other stylings */
        display: block !important;

        /* mozilla .... rounded corners with no images */
        -moz-border-radius: 10px; 

        /* webkit equivalent */
        -webkit-border-radius: 10px 
}

这些并不是隐藏的 ,但是它们的使用并不常见。

These are not so much hidden, but their use is not often widespread. What tips, tricks, rare features have you discovered with CSS?

推荐答案

您可以显示文档的标题元素:

You can display the document’s title element:

head, title {
    display: block;
}

这篇关于CSS的隐藏功能的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆