mirror of
				https://github.com/valentineus/popov.link.git
				synced 2025-11-04 06:49:45 +03:00 
			
		
		
		
	Snippet border-box
This commit is contained in:
		
							
								
								
									
										15
									
								
								_scss/utilities/_borderbox.scss
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										15
									
								
								_scss/utilities/_borderbox.scss
									
									
									
									
									
										Normal file
									
								
							@@ -0,0 +1,15 @@
 | 
			
		||||
// Box Sizing
 | 
			
		||||
//
 | 
			
		||||
// The box-sizing property in CSS controls how the box model
 | 
			
		||||
// is handled for the element it applies to.
 | 
			
		||||
//
 | 
			
		||||
// Values: content-box | border-box
 | 
			
		||||
// Default: content-box
 | 
			
		||||
//
 | 
			
		||||
// https://www.w3.org/TR/css-ui-3/#box-sizing
 | 
			
		||||
@mixin borderbox($value: content-box) {
 | 
			
		||||
  -webkit-box-sizing: $value;
 | 
			
		||||
     -moz-box-sizing: $value;
 | 
			
		||||
      -ms-box-sizing: $value;
 | 
			
		||||
          box-sizing: $value;
 | 
			
		||||
}
 | 
			
		||||
		Reference in New Issue
	
	Block a user