Basic CSS Question

Basic CSS Question

  

I want to display a text in a BIG size. I tried several of the styling options, but they are too small.

I think i can achieve that by changing the CSS options, but i cant seems to make it work

I've tried these, but nothing it's changed

SyntaxEditor Code Snippet

Heading1 {
font-size: 250%;
}

Hi,

Try using the "px" unit in your CSS. So your class would look like this:

Heading1 {
    font-size: 30px;
}
Solution

Another thing I noticed: you're missing a dot in your CSS. It shoud be:

.Heading1 {
    font-size: 30px;
}
Solution

and always try it first with devTools in chrome for example.

this way you see the effect immediatly

Hi,

1) You can use any  relative length units like: em, pt, px ( 1em = 12pt = 16px = 100% )

and you're missing a dot in your CSS

like:

.Heading1 {
    font-size: 30px;
}

2) give "!important"


I have marked this post as resolved so that old posts won't show up.