Search
 
SCRIPT & CODE EXAMPLE
 

CSS

nesting in sass

/*  nesting styles inside the parent element. 
& will refer to the parent which is the anchor tag a.*/ 
li {
    margin-right: 2.5rem;

    a {
      text-decoration: none;
      color: #707070;

      &:hover {
        color: #069c54;
      }
    }
  }
Comment

scss nesting

.enlarge {
  font-size: 14px;
  transition: {
    property: font-size;
    duration: 4s;
    delay: 2s;
  }

  &:hover { font-size: 36px; }
}
Comment

PREVIOUS NEXT
Code Example
Css :: generate your tailwind.config.js file 
Css :: vertical align h1 inside div 
Css :: para que sirve justify-content-center 
Css :: nth child 
Css :: nmap output ip only 
Css :: css loader with gradient 
Css :: css waves background 
Css :: gradient css 
Css :: include css typo3 
Css :: background color 
Css :: put a background image in css with absolute layout 
Css :: css notes 
Css :: css footer always at bottom but visible 
Css :: css flex alle elemente gleiche höhe 
Css :: css ovel 
Css :: how to make the position of a div always stay while scrolling 
Css :: CSS :hover Selector 
Css :: set custom cursor 
Css :: tailwind simple product card 
Css :: css() multiple 
Css :: how to make focus outline round in html 
Css :: table vertical align center 
Css :: html css drow line 
Css :: sass min max 
Css :: flex css 
Css :: transparent circle in a div 
Css :: vim unset number 
Css :: fitler css for making white img 
Css :: home page css 
Css :: chrome close tab after print 
ADD CONTENT
Topic
Content
Source link
Name
6+4 =