Search
 
SCRIPT & CODE EXAMPLE
 

CSS

vertically center an svg

.svg-wrapper {
  display: flex;
  align-items: center;
  height: 100%;
}

.svg-wrapper > svg {
  display: block;
  margin: 0 auto;
  text-align: center;
}
Comment

PREVIOUS NEXT
Code Example
Css :: css div on the bottom 
Css :: overflow text newline 
Css :: center position absolute 
Css :: select text-align center 
Css :: underline height 
Css :: grid direction 
Css :: swiper slider autoplay 
Css :: check if input is empty css 
Css :: use woff2 font in css 
Css :: diable focus button css 
Css :: inner box shadow 
Css :: css reset 
Css :: elementor accordions closed by default 
Css :: smooth transition css on hover 
Css :: invisible button css 
Css :: symfony version check 
Css :: ion-tab-bar transparent 
Css :: style disabled button 
Css :: media query tablet only 
Css :: grid center css 
Css :: fixed footer in bootstrap 
Css :: css element top layer 
Css :: link to css file within another css file 
Css :: silver hex code 
Css :: css limit text length 
Css :: how to remove default look of button 
Css :: To make the datetime always LTR 
Css :: css multiple backgrounds 
Css :: @extend must be used with a %placeholder 
Css :: null vs void 
ADD CONTENT
Topic
Content
Source link
Name
2+1 =