Skip to content

Instantly share code, notes, and snippets.

View mohammad-hammal's full-sized avatar

mohammad-hammal mohammad-hammal

View GitHub Profile
// typescript
var age:number = 24;
// javascript
var age = 24
//C#
int age = 24;
//Javascript
var age = 24
span{
font-size:1.3em //32px / 24px = 1.3em
}
body{
font-size:16px;
}
p{
font-size:1.5em; //24px / 16px =1.5em
}
span{
font-size: 2em; //32px / 16px = 2em
<body>
<p> <span> Who </span>We Are </p>
</body>
.wrapper{
display:flex;
justify-content: center;
align-items: center
}
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
<title>Navigation</title>
header{background-image: linear-gradient(to bottom, rgba(0, 0, 0, .4), rgba(0, 0, 0, .6)), url(idea.jpg);}
header {
margin: 0;
padding: 0;
height: 500px;
display: flex;
justify-content: center;
align-items: center;
background-image: url(idea.jpg);
background-position: center center;
background-size: cover;
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
<title>Navigation</title>