Merge pull request #348 from ManonLef/main
css-exercise animation 02 - edit syntax
This commit is contained in:
		
						commit
						15f62b3c02
					
				| 
						 | 
					@ -40,8 +40,9 @@ button {
 | 
				
			||||||
  opacity: 0%;
 | 
					  opacity: 0%;
 | 
				
			||||||
  text-align: center;
 | 
					  text-align: center;
 | 
				
			||||||
}
 | 
					}
 | 
				
			||||||
 | 
					
 | 
				
			||||||
.popup-modal p {
 | 
					.popup-modal p {
 | 
				
			||||||
  margin-bottom: 24px
 | 
					  margin-bottom: 24px;
 | 
				
			||||||
}
 | 
					}
 | 
				
			||||||
 | 
					
 | 
				
			||||||
.backdrop {
 | 
					.backdrop {
 | 
				
			||||||
| 
						 | 
					@ -64,12 +65,10 @@ button {
 | 
				
			||||||
/* SOLUTION */
 | 
					/* SOLUTION */
 | 
				
			||||||
 | 
					
 | 
				
			||||||
.popup-modal {
 | 
					.popup-modal {
 | 
				
			||||||
  transition: transform .3s ease-in-out, opacity .4s ease;
 | 
					  transition: transform 0.3s ease-in-out, opacity 0.4s ease;
 | 
				
			||||||
  transform: translate(-50%, -100%);
 | 
					  transform: translate(-50%, -100%);
 | 
				
			||||||
}
 | 
					}
 | 
				
			||||||
 | 
					
 | 
				
			||||||
.popup-modal.show {
 | 
					.popup-modal.show {
 | 
				
			||||||
  transform: translate(-50%, -50%);
 | 
					  transform: translate(-50%, -50%);
 | 
				
			||||||
}
 | 
					}
 | 
				
			||||||
 | 
					 | 
				
			||||||
 | 
					 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
| 
						 | 
					@ -40,8 +40,9 @@ button {
 | 
				
			||||||
  opacity: 0%;
 | 
					  opacity: 0%;
 | 
				
			||||||
  text-align: center;
 | 
					  text-align: center;
 | 
				
			||||||
}
 | 
					}
 | 
				
			||||||
 | 
					
 | 
				
			||||||
.popup-modal p {
 | 
					.popup-modal p {
 | 
				
			||||||
  margin-bottom: 24px
 | 
					  margin-bottom: 24px;
 | 
				
			||||||
}
 | 
					}
 | 
				
			||||||
 | 
					
 | 
				
			||||||
.backdrop {
 | 
					.backdrop {
 | 
				
			||||||
| 
						 | 
					@ -60,4 +61,3 @@ button {
 | 
				
			||||||
.backdrop.show {
 | 
					.backdrop.show {
 | 
				
			||||||
  opacity: 30%;
 | 
					  opacity: 30%;
 | 
				
			||||||
}
 | 
					}
 | 
				
			||||||
 | 
					 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
		Loading…
	
		Reference in New Issue