Search
 
SCRIPT & CODE EXAMPLE
 

CSS

SCSS examples

@mixin displayproperty {
  display: flex;
  //other property for commen to many classes:
}
//for light and dark theme:
@mixin theme-color($light_color: true) {
  @if $light_color {
    background-color: #fff;
    color: black;
  } @else {
    background-color: black;
    color: #fff;
  }
}
$margin: 100px;

.paginator-wrapper {
  @include displayproperty();
  justify-content: end;
  margin-top: 2.5px;
  .page-no {
    margin-left: $margin - 90px;
    margin-right: $margin - 60px;
    // &:hover {
    //   color: red;
    // }
    //this is nesting in nesting:
  }
}

.spinner {
  margin: 20px 0;
  margin-bottom: $margin - 80px;
  padding: 30px 50px;
  text-align: center;
  border-radius: 4px;
}
.empty-data {
  @include displayproperty();
  justify-content: center;
  margin-top: 10%;
}

.main-wrapper {
  .light {
    @include theme-color($light_color: true);
  }
  .dark {
    @include theme-color($light_color: false);
  }
}
Comment

PREVIOUS NEXT
Code Example
Css :: style inline css hover 
Css :: rgba colors 
Css :: background css image 
Css :: scrollbar with 2 different colors on same page css 
Css :: wordpress page css not working 
Css :: comentarios en archivo scss 
Css :: fade in animation css codepen 
Css :: nth-of-type(2):before 
Css :: how to use flex-shrink in css 
Css :: can you control another div on hover css 
Css :: how to divide flex space equally 
Css :: control one swiper with other 
Css :: z-index on position absolute 
Css :: css cheat sheet 
Css :: skeumorphism box shadow 
Css :: test typescript 
Css :: margin initial css 
Css :: how to give height equal to parent height css 
Css :: attribute selectors in css 
Css :: import import bootstrap-social as css file; 
Css :: Viewport is 480 pixels or smaller css 
Css :: position absolute above everything 
Css :: how to use tailwind css in react js 
Css :: css clip-path 
Css :: css responsive tabs 
Css :: react datepicker css not working 
Css :: counter-style counter css counters 
Css :: Set cellpadding and cellspacing in CSS? 
Css :: woocommerce cart css description 
Css :: sass use 
ADD CONTENT
Topic
Content
Source link
Name
9+6 =