Skip to content

Instantly share code, notes, and snippets.

@codigoconjuan
Created December 8, 2019 16:58
Show Gist options
  • Save codigoconjuan/d277eb6f06804482631d0ec434fec032 to your computer and use it in GitHub Desktop.
Save codigoconjuan/d277eb6f06804482631d0ec434fec032 to your computer and use it in GitHub Desktop.
Proyecto Breaking Bad
html {
box-sizing: border-box;
}
*, *:before, *:after {
box-sizing: inherit;
}
* {
margin:0 ;
}
html {
height: 100%;
}
body {
background-image: url(logo.svg), -webkit-linear-gradient(top left, #007d35 0%, #007d35 40%, #0f574e 100%);
min-height: 100%;
background-position: center 80px, center center;
background-repeat:no-repeat;
background-size: 300px, 100% 100%;
display: flex;
align-items: flex-end;
}
@media (min-width:768px) {
body {
align-items: center;
background-size: 400px, 100% 100%;
}
}
#root {
width: 100%;
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment