2013年10月23日 星期三

css-font-size font-weight

inf :  http://www.w3schools.com/cssref/pr_font_font-size.asp



Property Values

ValueDescriptionPlay it
xx-smallSets the font-size to an xx-small sizePlay it »
x-smallSets the font-size to an extra small sizePlay it »
smallSets the font-size to a small sizePlay it »
mediumSets the font-size to a medium size. This is defaultPlay it »
largeSets the font-size to a large sizePlay it »
x-largeSets the font-size to an extra large sizePlay it »
xx-largeSets the font-size to an xx-large sizePlay it »
smallerSets the font-size to a smaller size than the parent elementPlay it »
largerSets the font-size to a larger size than the parent elementPlay it »
lengthSets the font-size to a fixed size in px, cm, etc.Play it »
%Sets the font-size to a percent of  the parent element's font sizePlay it »
inheritSpecifies that the font size should be inherited from the parent element
a a

http://www.w3schools.com/cssref/playit.asp?filename=playcss_font-weight&preval=bold


CSS Property:
font-weight:
Result:

Change font weight by clicking the radiobuttons
CSS Code:
div
{
font-weight:normal;
}
Click the property values above to see the result
W3Schools.com - Play it

沒有留言:

張貼留言