Skip to content
Open

es #573

Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Empty file.
Empty file.
Original file line number Diff line number Diff line change
@@ -1,19 +1,20 @@
.container {
display: flex;
flex-direction: row;
background-color: #ffffff;
width: 300px;
padding: 10px;
height: 300px;
border: solid 2px blue;
align-items: center;
}

.item {
background-color: #359fe6;
border: 1px solid #0d1dff;
width: 100px;
padding: 10px;
text-align:center;
align-items: center;
.container {
display: flex;
flex-direction: row;
background-color: #ffffff;
width: 300px;
padding: 10px;
height: 300px;
border: solid 2px blue;
align-items: center;
justify-content: center;

}

.item {
background-color: #359fe6;
border: 1px solid #0d1dff;
width: 100px;
padding: 10px;
text-align:center;
}
Original file line number Diff line number Diff line change
@@ -1,15 +1,15 @@
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Document</title>
<link rel="stylesheet" href="wang_esercizio_CSS_46.CSS">
</head>
<body>
<div class="container">
<div class="item">Center me</div>

</div>
</body>
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Document</title>
<link rel="stylesheet" href="wang_esercizio_css_46.css">
</head>
<body>
<div class="container">
<div class="item">Center me</div>
</div>
</body>
</html>
25 changes: 25 additions & 0 deletions TPSI/wang_enrico/Css es/wang_esercizio_css_47.css
Original file line number Diff line number Diff line change
@@ -0,0 +1,25 @@
body {
display: flex;
justify-content: center;
align-items: center;
height: 100vh;
margin: 0;
background-color: #f0f0f0;
}

.container {
display: flex;
flex-wrap: wrap;
max-width: 600px;
margin: 20px;
}

.box {
background-color: #4a90e2;
color: white;
padding: 10px 20px;
margin: 5px;
border-radius: 5px;
text-align: center;
flex: 1 1 auto;
}
24 changes: 24 additions & 0 deletions TPSI/wang_enrico/Css es/wang_esercizio_css_47.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,24 @@
<!DOCTYPE html>
<html lang="it">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<link rel="stylesheet" href="wang_esercizio_css_47.css">
</head>
<body>

<div class="container">
<div class="box">Turnip</div>
<div class="box">greens</div>
<div class="box">yarrow</div>
<div class="box">ricebean</div>
<div class="box">rutabaga</div>
<div class="box">endive</div>
<div class="box">cauliflower</div>
<div class="box">sea lettuce</div>
<div class="box">kohlrabi</div>
<div class="box">amaranth</div>
</div>

</body>
</html>
28 changes: 28 additions & 0 deletions TPSI/wang_enrico/Css es/wang_esercizio_css_48.css
Original file line number Diff line number Diff line change
@@ -0,0 +1,28 @@
.container {
position: absolute;
top: 50%;
left: 50%;
transform: translate(-50%, -50%);
}

.grid {
width: 512px;
height: 512px;
display: grid;
grid-template-columns: repeat(4, 1fr);
border: 2px solid;
}

h2 {
text-align: center;
}

.cell {
display: flex;
align-items: center;
justify-content: center;
font-size: 20px;
border: 1px solid;
background-color: orange;
text-align: center;
}
32 changes: 32 additions & 0 deletions TPSI/wang_enrico/Css es/wang_esercizio_css_48.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,32 @@
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<title>Document</title>
<link rel="stylesheet" href="wang_esercizio_css_48.css" />
</head>
<body>
<div class="container">
<h2>Il gioco de 15</h2>
<div class="grid">
<div class="cell">1</div>
<div class="cell">2</div>
<div class="cell">3</div>
<div class="cell">4</div>
<div class="cell">5</div>
<div class="cell">6</div>
<div class="cell">7</div>
<div class="cell">8</div>
<div class="cell">9</div>
<div class="cell">10</div>
<div class="cell">11</div>
<div class="cell">12</div>
<div class="cell">13</div>
<div class="cell">14</div>
<div class="cell">15</div>
<div class="cell"></div>
</div>
</div>
</body>
</html>
40 changes: 40 additions & 0 deletions TPSI/wang_enrico/Css es/wang_esercizio_css_49.css
Original file line number Diff line number Diff line change
@@ -0,0 +1,40 @@
.grid {
position: absolute;
top: 50%;
left: 50%;
transform: translate(-50%, -50%);
width: 800px;
display: grid;
grid-template-columns: repeat(6, 1fr);
grid-template-rows: repeat(6, 1fr);
text-align: center;
}

.cell{
border: 1px solid red;
padding: 10px;
}

.cell:nth-child(2){
border: none;
}

.cell:nth-child(1) {
grid-row: 1 /2;
grid-column: 2 / 5;
}

.cell:nth-child(4){
grid-row: 2 /5;
grid-column: 1 / 1;
}

.cell:nth-child(5){
grid-row: 2 / 5;
grid-column: 2 / 5;
}

.cell:last-child{
grid-row: 5 / 8;
grid-column: 5 / 7;
}
39 changes: 39 additions & 0 deletions TPSI/wang_enrico/Css es/wang_esercizio_css_49.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,39 @@

<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<title>Document</title>
<link rel="stylesheet" href="wang_esercizio_css_49.css" />
</head>
<body>
<div class="grid">
<div class="cell">1</div>
<div class="cell"></div>
<div class="cell">1</div>
<div class="cell">1</div>
<div class="cell">1</div>
<div class="cell">1</div>
<div class="cell">1</div>
<div class="cell">1</div>
<div class="cell">1</div>
<div class="cell">1</div>
<div class="cell">1</div>
<div class="cell">1</div>
<div class="cell">1</div>
<div class="cell">1</div>
<div class="cell">1</div>
<div class="cell">1</div>
<div class="cell">1</div>
<div class="cell">1</div>
<div class="cell">1</div>
<div class="cell">1</div>
<div class="cell">1</div>
<div class="cell">1</div>
<div class="cell">1</div>
<div class="cell">1</div>
<div class="cell">1</div>
</div>
</body>
</html>
18 changes: 18 additions & 0 deletions TPSI/wang_enrico/Css es/wang_esercizio_css_50.css
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
.grid {
position: absolute;
top: 50%;
left: 50%;
transform: translate(-50%, -50%);
display: grid;
gap: 10px;
grid-template-columns: repeat(3, 1fr);
}

.cell{
background-color: rgb(41, 41, 41);
color: #fff;
font-size: 40px;
padding: 55px;
width: 120px;
border-radius: 10px;
}
19 changes: 19 additions & 0 deletions TPSI/wang_enrico/Css es/wang_esercizio_css_50.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<title>Document</title>
<link rel="stylesheet" href="wang_esercizio_css_50.css" />
</head>
<body>
<div class="grid">
<div class="cell">A</div>
<div class="cell">B</div>
<div class="cell">C</div>
<div class="cell">D</div>
<div class="cell">E</div>
<div class="cell">F</div>
</div>
</body>
</html>
27 changes: 27 additions & 0 deletions TPSI/wang_enrico/Css es/wang_esercizio_css_51.css
Original file line number Diff line number Diff line change
@@ -0,0 +1,27 @@
.grid {
position: absolute;
top: 50%;
left: 50%;
transform: translate(-50%, -50%);
display: grid;
width: 650px;
gap: 10px;
grid-template-columns: repeat(3, 1fr);
}

.cell{
background-color: rgb(41, 41, 41);
color: #fff;
font-size: 40px;
padding: 55px;
border-radius: 10px;
}

.cell:nth-child(1){
grid-column: 1/ 3;
}

.cell:nth-child(2){
grid-row: 1 / 3;
grid-column: 3 / 4;
}
17 changes: 17 additions & 0 deletions TPSI/wang_enrico/Css es/wang_esercizio_css_51.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<title>Document</title>
<link rel="stylesheet" href="wang_esercizio_css_51.css" />
</head>
<body>
<div class="grid">
<div class="cell">A</div>
<div class="cell">B</div>
<div class="cell">C</div>
<div class="cell">D</div>
</div>
</body>
</html>
34 changes: 34 additions & 0 deletions TPSI/wang_enrico/Css es/wang_esercizio_css_52.css
Original file line number Diff line number Diff line change
@@ -0,0 +1,34 @@
.grid {
position: absolute;
top: 50%;
left: 50%;
transform: translate(-50%, -50%);
width: 700px;
display: grid;
gap: 10px;
grid-template-columns: repeat(4, 1fr);
}

.cell{
background-color: rgb(41, 41, 41);
color: #fff;
font-size: 40px;
padding: 55px;
border-radius: 10px;
}

.cell:nth-child(1){
grid-column: 1 / 3;
}

.cell:nth-child(2){
grid-column: 3 / 5;
}

.cell:nth-child(4){
grid-column: 2 / 5;
}

.cell:last-child{
grid-column: 1 / 5;
}
Loading