Results: 1580
Notes
  • Newest first
  • Oldest first
  • Newest first(All)
  • Oldest first(All)
Error: Start tag seen without seeing a doctype first. Expected <!DOCTYPE html>
by Valeri Tandilashvili
4 years ago
0
HTML
Error
1
These are alternatives:
background-position: right bottom;
background-position: 100% 100%;
background-position: bottom 0px right 0px;
background-position: right center;
background-position: 100% 50%;
background-position: left top;
background-position: 0% 0%;
background-position: left 0px top 0px
by Valeri Tandilashvili
4 years ago
0
CSS
properties
CSS
1
catch keyup event when clicking on enter
$("#element").keyup(function(event){
    if(event.keyCode == 13)
        someAction('param');
    }
});
by Valeri Tandilashvili
4 years ago
0
jQuery
1
by Valeri Tandilashvili
4 years ago
0
CSS
Learn CSS
1
benefits of serving static files on another domain
1. Using another domain name means that you'll be able to not have the cookies that are used on the main domain - which means that HTTP requests will be smaller
2. No need for a full PHP/.NET/JAVA server to serve static content!
3. Use another machine to serve the static content (Including some CDN) 
4. Use another web-server to serve the static content (something more lightweight and faster)
by Valeri Tandilashvili
4 years ago
0
HTML
website performance
1
percentage values are relative to the nearest ancestor element
viewport units are always relative to the browser window
by Valeri Tandilashvili
4 years ago
0
CSS
measurement units
Learn CSS
1
.box {
  width: 50vw;
  height: 100vh;
  background: gray;
  color: white;
}
by Valeri Tandilashvili
4 years ago
0
CSS
measurement units
Learn CSS
1
h1 {
    font-size: 7vw;
}
by Valeri Tandilashvili
4 years ago
0
CSS
measurement units
Learn CSS
1
h1 {
    transform: translateY(-50%);
}
by Valeri Tandilashvili
4 years ago
0
CSS
properties
Learn CSS
1
basic HTML snippet in different IDEs
Sublime Text: by typing
<ht
autocomplete will appear and after pressing enter, inserts the following basic HTML:
<!DOCTYPE html>
<html>
<head>
	<title></title>
</head>
<body>

</body>
</html>
In VS Code, after typing
!
will be inserted the following HTML:
<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>Document</title>
</head>
<body>
    
</body>
</html>
by Valeri Tandilashvili
4 years ago
0
HTML
snippets
1
Results: 1580