What do you want to save?
Add Code snippet
New code examples
-
CSS 2022-02-13 12:20:01
css subclass
/* CSS */ .title { color #f00000;} // New subclass called “title-large” .title-large { font-size: 2rem;} /* HTML implementation <span class=”title title-large”> */ // New subclass called “title-small” .title... Add solution -
CSS 2022-02-10 02:16:16
html align svg to text
/* html-part: Pay attention to the correct name */ <div class="icon baseline"> <svg width="48" height="48" viewBox="0 0 48 48"> <path .../> </svg> </div> /* css-part */ .... Add solution -
CSS 2021-11-10 11:38:15
css specificity
/* CSS Hierarchy: You can apply a global CSS rule and, using internal or inline CSS, cause particular changes to each html page */ /* Highest priority to lowest priority: */ /* 1º - Inline CSS */ <body style="background-color: green;"... Add solution -
CSS 2021-11-07 08:41:08
css change class name start with
/* CSS pure */ div[class^='myclass'], div[class*=' myclass']{ color: #F00; } /* css change class name start with styled components */ & [class^='Pagination-activeButton'], [class*=' Pagination-activeButton'] { span { color: #fa751f !importa... Add solution -
CSS 2021-10-23 07:45:07
adjusting y pos of element in css
<!DOCKTYPE html> <!-- Start of coding page --> <html> <!-- Start of html coding --> <head> <!-- Start of head --> <title>TITLE<title> <!-- Title --> <script> //JavaScript <... Add solution -
CSS 2021-10-17 14:07:03
css make all text center
/* Using flex to center anything*/ .parent{ display: flex; justify-content: center; /* Centering Horizantly */ align-items: center; /* Centering Vertically */ /* Every element inside this div will be centered*/ } /* Using Line Height*/ .main-div{ ... Add solution -
CSS 2021-10-13 21:46:10
css hierarchy priority
/* CSS Hierarchy: You can apply a global CSS rule and, using internal or inline CSS, cause particular changes to each html page */ /* Highest priority to lowest priority: */ /* 1º - Inline CSS */ <body style="background-color: green;"... Add solution -
CSS 2021-10-10 04:55:07
css full grid span
/* CSS GRID ELEMENT SPAN TO 100% */ grid-column: 1 / -1; Add solution