Bootstrap code. class: vs class=

I little confused on when to use class: "" vs class= "" it seems some lines accept the colon where as others don't and then vice versa..but I can't figure out why?

Posted about 5 years ago by jS
Posted about 5 years ago by Alex Yang

You'll see class="" in HTML while class: "" will show up when you're writing Ruby/ERB code. It's nothing to sweat about - just a difference in syntax between languages.

0
Posted about 5 years ago by jS

thanks.

0
Posted about 5 years ago by jS

sweet that makes sense.

0