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 :: animation left to right css 
Css :: move text in a padding css 
Css :: font stack css 
Css :: radial-gradient css 
Css :: flex flow 
Css :: max character css 
Css :: zoom background image css 
Css :: calc css float to procent 
Css :: how to make bold text css 
Css :: css grid container 
Css :: how to put different p elements next to each 
Css :: php executable not found. install php 7 and add it to your path 
Css :: make clicks pass through element css html 
Css :: Submit Button CSS Class 
Css :: inline block display has margin 
Css :: CSS line-height values 
Css :: two line ellipsed 
Css :: tailwind npm 
Css :: id ends with css 
Css :: css radial gradients 
Css :: css multiple classes 
Css :: transition for css 
Css :: what is css 
Css :: contain background image within container 
Css :: back button css 
Css :: Tailwindcss Breadcrumb 
Css :: safari version 10+ media query 
Css :: how to disable site anchor 
Css :: how to set initial state after first time in formik 
Css :: Service Worker Navigator check 
ADD CONTENT
Topic
Content
Source link
Name
6+6 =