Skip to content

Instantly share code, notes, and snippets.

@AndreaBarghigiani
Created March 7, 2018 16:42
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save AndreaBarghigiani/e6067b41841ff3c12eca998615207dc5 to your computer and use it in GitHub Desktop.
Save AndreaBarghigiani/e6067b41841ff3c12eca998615207dc5 to your computer and use it in GitHub Desktop.
Codice condiviso nella lezione 8 di 11 del corso "Scopri HTML e CSS, i fondamenti del web design" che puoi trovare qua: https://skillsandmore.org/corso/fondamenti-del-web-design/
<img src="percorso/immagine.jpg" alt="testo" width="200" height="100">
<link rel='stylesheet' href='css/style.css' type='text/css' media='all'>
<div class="site-branding">
<img src="img/logo.png" alt="Logo skillsAndMore" />
<h1 class="site-title"><a href="#" rel="home">Lezione 8</a></h1>
<h2 class="site-description">Immagini, le Protagoniste del Web</h2>
</div>
<img src="img/img_small.png">
<div class="site-branding">
<h1 class="site-title"><a href="#" rel="home">Lezione 8</a></h1>
<h2 class="site-description">Immagini, le Protagoniste del Web</h2>
</div>
h1{
background: url(../img/logo.png) no-repeat center left;
}
h1{
background-image: url(../img/logo.png);
background-repeat: no-repeat;
background-position: center left;
}
h1{
background: url(../img/logo.png) no-repeat center left;
height: 117px;
padding-left: 195px;
line-height: 117px;
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment