How to set font style light?


Tags: css,fonts,flash-cs5,photoshop

Problem :

I m making a web site from photoshop sketch. And I have a text wit

font-family Segoe Ui and font-style: Light. In photoshop It looks like this:enter image description here

So how to set this in css to p element?

p {

}


Solution :

Use font-weight which takes values like:

p {
    font-weight: 100; /* 100, 200, 300, ... 900, normal, bold, bolder, lighter */
}

See the documentation on W3C


    CSS Howto..

    How to embed video on my first website

    How to delete the gap

    How to hide a part of a CSS borderline nicely

    How to Style Social Media Links Correctly

    How do I style an upload input using CSS?

    How can I position my navigation bar further up on the page?

    How to make non standard shape buttons, non clickable outside of it's border

    How can I use a different CSS using jQuery?

    How to make the green DIV fit right after 2 upper divs?

    how to add a different css to last mysql query result using php

    How to hide Fileupload with simple span by using css

    I want to bring css for select option. how to write for this image, sample output like this

    CSS: How the backgrounds can extend the border and overlap?

    CSS box-shadow shows weird white region?

    How can I apply text attributes to text in a list in CSS

    PHP+CSS Obfuscation - PHP ord THEN PHP strrev + CSS reverse text, how to get the special chars validated backwards?

    CSS - How to set height of absolute div same with neighbor image?

    How to nest classes in css modules and react?

    How to fix logo place in my website with css

    Show specific comment in LESS file when compiled to CSS while keeping all other comments hidden

    How to hide child element entirely if it is cut off by it's parent's overflow:hidden property?

    How to center divs on page

    How to place scroll bar on side of table?

    How to Fix text in Html with CSS

    How i can import LESS CSS in .net?

    How do I get the height to the full page height?

    How to apply css to div content based on regex

    Simple slideshow not working properly

    Any ideas on how I could implement a grid-view in CSS? - CSS

    How to use CSS media query to scale background-image to viewing window