* fix accessibility-quiz and reg-form tests (cherry picked from commit467f0b3e78) * fix: registration-form tests * fix: ferris wheel tests * fix: photo-gallery tests * fix: magazine tests (cherry picked from commit5831c2345d) * fix: picasso tests * fix: piano tests * fix: magazine and nutrition tests * fix: again magazine...I am doing this in sill order * chore: resolve discrepancies with tests (cherry picked from commita7b5e031df) * fix: the stuffs...I am tired * fix: oops (cherry picked from commit05ff55a036) * fix: add missing solutions (cherry picked from commit61fa23fc70) Co-authored-by: Nicholas Carrigan <nhcarrigan@gmail.com>
		
			
				
	
	
		
			119 lines
		
	
	
		
			2.5 KiB
		
	
	
	
		
			Markdown
		
	
	
	
	
	
			
		
		
	
	
			119 lines
		
	
	
		
			2.5 KiB
		
	
	
	
		
			Markdown
		
	
	
	
	
	
| ---
 | |
| id: 612eb934f64a4d6890a45518
 | |
| title: Step 26
 | |
| challengeType: 0
 | |
| dashedName: step-26
 | |
| ---
 | |
| 
 | |
| # --description--
 | |
| 
 | |
| Give the `.key.black--key::after` selector a `border-radius` of `0 0 3px 3px` to match the keys.
 | |
| 
 | |
| # --hints--
 | |
| 
 | |
| Your `.key.black--key::after` selector should have a `border-radius` property set to `0 0 3px 3px`.
 | |
| 
 | |
| ```js
 | |
| assert(new __helpers.CSSHelp(document).getStyle('.key.black--key::after')?.borderRadius === '0px 0px 3px 3px');
 | |
| ```
 | |
| 
 | |
| # --seed--
 | |
| 
 | |
| ## --seed-contents--
 | |
| 
 | |
| ```html
 | |
| <!DOCTYPE html>
 | |
| <html>
 | |
|   <head>
 | |
|     <meta charset="UTF-8" />
 | |
|     <title>Responsive Web Design Piano</title>
 | |
|     <meta name="viewport" content="width=device-width, initial-scale=1.0" />
 | |
|     <link rel="stylesheet" href="./styles.css">
 | |
|   </head>
 | |
|   <body>
 | |
|     <div id="piano">
 | |
|       <img class="logo" src="https://cdn.freecodecamp.org/platform/universal/fcc_primary.svg" alt="freeCodeCamp Logo" />
 | |
|       <div class="keys">
 | |
|         <div class="key"></div>
 | |
|         <div class="key black--key"></div>
 | |
|         <div class="key black--key"></div>
 | |
|         <div class="key"></div>
 | |
|         <div class="key black--key"></div>
 | |
|         <div class="key black--key"></div>
 | |
|         <div class="key black--key"></div>
 | |
| 
 | |
|         <div class="key"></div>
 | |
|         <div class="key black--key"></div>
 | |
|         <div class="key black--key"></div>
 | |
|         <div class="key"></div>
 | |
|         <div class="key black--key"></div>
 | |
|         <div class="key black--key"></div>
 | |
|         <div class="key black--key"></div>
 | |
| 
 | |
|         <div class="key"></div>
 | |
|         <div class="key black--key"></div>
 | |
|         <div class="key black--key"></div>
 | |
|         <div class="key"></div>
 | |
|         <div class="key black--key"></div>
 | |
|         <div class="key black--key"></div>
 | |
|         <div class="key black--key"></div>
 | |
|       </div>
 | |
|     </div>
 | |
|   </body>
 | |
| </html>
 | |
| ```
 | |
| 
 | |
| ```css
 | |
| html {
 | |
|   box-sizing: border-box;
 | |
| }
 | |
| 
 | |
| *, *::before, *::after {
 | |
|   box-sizing: inherit;
 | |
| }
 | |
| 
 | |
| #piano {
 | |
|   background-color: #00471b;
 | |
|   width: 992px;
 | |
|   height: 290px;
 | |
|   margin: 80px auto;
 | |
|   padding: 90px 20px 0 20px;
 | |
|   position: relative;
 | |
|   border-radius: 10px;
 | |
| }
 | |
| 
 | |
| .keys {
 | |
|   background-color: #040404;
 | |
|   width: 949px;
 | |
|   height: 180px;
 | |
|   padding-left: 2px;
 | |
| }
 | |
| 
 | |
| .key {
 | |
|   background-color: #ffffff;
 | |
|   position: relative;
 | |
|   width: 41px;
 | |
|   height: 175px;
 | |
|   margin: 2px;
 | |
|   float: left;
 | |
|   border-radius: 0 0 3px 3px;
 | |
| }
 | |
| 
 | |
| --fcc-editable-region--
 | |
| .key.black--key::after {
 | |
|   background-color: #1d1e22;
 | |
|   content: "";
 | |
|   position: absolute;
 | |
|   left: -18px;
 | |
|   width: 32px;
 | |
|   height: 100px;
 | |
| }
 | |
| --fcc-editable-region--
 | |
| 
 | |
| .logo {
 | |
|   width: 200px;
 | |
|   position: absolute;
 | |
|   top: 23px;
 | |
| }
 | |
| ```
 |