Search
 
SCRIPT & CODE EXAMPLE
 

CSS

dont brake text in css

selector {
  /* This is the default, you don't need to
     explicitly declare it unless overriding
     another declaration */
  white-space: normal; 
}
/*
____________________________________________
normal	    Collapse	Collapse	Wrap    |
--------------------------------------------
pre	        Preserve	Preserve	No wrap |
--------------------------------------------
nowrap   	Collapse	Collapse	No wrap |
--------------------------------------------
pre-wrap	Preserve	Preserve	Wrap    |
--------------------------------------------
pre-line	Preserve	Collapse	Wrap    |
____________________________________________
*/

/*
Source : https://css-tricks.com
*/
Comment

PREVIOUS NEXT
Code Example
Css :: css transition slide up 
Css :: underline css animation hover 
Css :: centering with flexbox 
Css :: apply style to second child div 
Css :: 3d button 
Css :: css dark mode 
Css :: make button stretch to fit text 
Css :: add shadowto container 
Css :: css background color over image 
Css :: min and max width media query 
Css :: z pos css 
Css :: half border bottom 
Css :: how to center a inline block element 
Css :: vue v-cloak not working 
Css :: css selector not contains attribute 
Css :: add padding to scrollbar 
Css :: how to add space between image and text in css 
Css :: css linear gradient 
Css :: style scroll react csss 
Css :: how many fonts can i add in a css font-face 
Css :: background repeat 
Css :: mat-progress-bar just dots 
Css :: how to set div background image 
Css :: how to give text stroke in css 
Css :: remove scrollbar from select tag 
Css :: css add shade over background image 
Css :: word break css 
Css :: css border only top and bottom 
Css :: fade in transition css 
Css :: css focus border radius 
ADD CONTENT
Topic
Content
Source link
Name
1+7 =