Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

what does html > signify in CSS?

I have below CSS code in some CSS file of Liferay portal.

What does html > signify? When that should be used?

.lfr-dockbar-pinned {
    .dockbar {
        left: 0;
        position: fixed;
        right: 0;
        top: 0;
    }

    .pin-dockbar img {
        background-image: url(../images/dockbar/unpin.png);
    }
}

html > .lfr-dockbar-pinned {
    padding-top: 3.45em;
}
like image 449
Vikas V Avatar asked Apr 24 '13 13:04

Vikas V


People also ask

What does HTML CSS mean?

CSS stands for Cascading Style Sheets. CSS describes how HTML elements are to be displayed on screen, paper, or in other media. CSS saves a lot of work. It can control the layout of multiple web pages all at once. External stylesheets are stored in CSS files.

What does HTML represent?

HyperText Markup Language (HTML) is the basic scripting language used by web browsers to render pages on the world wide web.

Why HTML and CSS is used?

HTML and CSS are scripting languages used to create a web page and web applications. HTML provides web page structure, whereas CSS is mainly used to control web page styling.

Are HTML and CSS used together?

HTML, CSS and JavaScript work together to form the front-end design of a website by applying information that affects content, style and interactivity of a site.


1 Answers

An element with the class lfr-dockbar-pinned that is a direct child descendant of the html element. See: http://www.w3.org/TR/CSS2/selector.html#child-selectors

like image 162
Adrian Avatar answered Sep 18 '22 11:09

Adrian