Im having a problem with Styling with CSS letter spacing excersize


h2 {
  font-family: Roboto, sans-serif;
  border-bottom: 1px solid rgba(255, 255, 255, 0.5);
  color: rgba(255, 255, 255, 0.5);
  font-weight: 100;
  font-size: 22px;
  line-height: 24px;
  padding-bottom: 30px;
  text-align: left;
  width: 70%;
  word-spacing: 0.05em;
  letter-spacing: 0.02em;


It would help if you posted the error messages.


I did some digging, and your code looks about right, though mine had 'font-style: italic;' below 'letter-spacing' and your's didn't. This might just do the trick for you!

Also, try getting rid of un-necessary spacing, I've found, from past experience, that CSS is a bit touchy with spaces.


This topic was automatically closed 7 days after the last reply. New replies are no longer allowed.