Jump to content
Killersites Community

cristi

Member
  • Content Count

    5
  • Joined

  • Last visited

  • Days Won

    1

Posts posted by cristi


  1. Hello everybody!

    I recently finished my CSS course, and I found on the net some CSS examples, but I don't really understand some of.

    I marked them with a *, if someone can explain them to me, thanks.

    mask-image: linear-gradient(90deg*, rgba(255, 255, 255, 0) 0%*, #ffffff 25%*, #ffffff 75%*, rgba(255, 255, 255, 0) 100%*);

    box-shadow: 0 0 25px rgba(0, 0, 0, 0.1), inset* 0 0 0px rgba(255, 255, 255, 0.6);
    }


  2. 55 minutes ago, DavidCampbell said:

    your style sheet should not have this syntax: 

     

    
    <style>
      
    </style>

     

    just do it like this:

     

    
    body
    	{
    	background: url("images/background-forum.jpg");
    	}

    and include it in your html head:

     

    
    <link href="pathTo/style.css" media="all" rel="stylesheet" type="text/css">

     

     

    Thanks, after all it was the <style> included in the stylesheet, like you said.

    Solved.

    • Like 2

  3. Hello everybody!

    I use  > background: url("images/background-forum.jpg"); < inside the body of the css stylesheet, but no background image is added, but when I do this in HTML > <body background="images/background-forum.jpg"> < it works, 

    the structure.css is in the same folder as index.html and the one with all the images called " images ".

    I use sublime text 3, someone can help me out?

×