Questions tagged [css]

CSS, short for Cascading Style Sheets, is a language used to control the presentation of HTML and XHTML documents.

CSS, short for Cascading Style Sheets, is a language used to control the presentation of HTML and XHTML documents. Each CSS document is made out of rulesets preceded by a selector - a set of rules for matching HTML and XHTML elements, containing property-value pairs that defines the presentation of the elements matching the selector. CSS is presented as a collection of features (CSS1, CSS2, CSS3).

Sample CSS File

a { /* This removes the underline from all anchors and change their colors to orange */
    text-decoration: none;
    color: orange;
}

#article a.tag { /* Selectors with greater Specificity override less specific ones */
    color: #4A6B82;
}

#article #sidebar > h3 + p:first-child a {
    /* Complex selectors can be created from joining multiple simple ones together */
    border-bottom: 1px solid #333;
    font-style: italics;
}

Useful links

Pure CSS Alternatives (CSS Automation)

Frameworks

221 questions
3
votes
2 answers

UWP for web site development

I was reading about UWP (universal windows platform) design guidelines on MS website. This is mostly about applications, not websites. However, is there something similar from MS when I want my desktop application and website to have the same look…
1
vote
1 answer

Similar color groups for HTML

I start my adventure as a front end developer and I wonder about the easiest way to choose the color groups used in css for my projects. For example, I have a group of grayscale colors. How large should the "distances" between them be (assuming that…
coredo
  • 13
  • 4
-2
votes
1 answer

using custom css rules while surfing websites

Everyday I visit some websites regularly. Some of them have great content but terrible design. So is there a way to use custom css rules for that ones, without changing every time in Firebug? For example, I want use line-height:1.5 for a blog to…
Orkun Tuzel
  • 111
  • 1