* fix: restructure certifications guide articles * fix: added 3 dashes line before prob expl * fix: added 3 dashes line before hints * fix: added 3 dashes line before solutions
		
			
				
	
	
		
			37 lines
		
	
	
		
			608 B
		
	
	
	
		
			Markdown
		
	
	
	
	
	
			
		
		
	
	
			37 lines
		
	
	
		
			608 B
		
	
	
	
		
			Markdown
		
	
	
	
	
	
| ---
 | |
| title: Use a CSS Linear Gradient to Create a Striped Element
 | |
| ---
 | |
| # Use a CSS Linear Gradient to Create a Striped Element
 | |
| 
 | |
| 
 | |
| ---
 | |
| ## Solutions
 | |
| 
 | |
| <details><summary>Solution 1 (Click to Show/Hide)</summary>
 | |
| 
 | |
| ```html
 | |
| <style>
 | |
| 
 | |
|   div{ 
 | |
|     border-radius: 20px;
 | |
|     height: 400px;
 | |
|     margin:  50 auto;
 | |
|     background: repeating-linear-gradient(
 | |
|       45deg,
 | |
|       yellow 0px,
 | |
|       yellow 40px,
 | |
|       black 40px,
 | |
|       black 80px
 | |
|     );
 | |
|   }
 | |
| 
 | |
| </style>
 | |
| 
 | |
| <div></div>
 | |
| ```
 | |
| 
 | |
| #### Relevant Links
 | |
| 
 | |
| * [MDN | Repeating Linear Gradient](https://developer.mozilla.org/en-US/docs/Web/CSS/repeating-linear-gradient)
 | |
| 
 | |
| </details> |