How to check the CSS hyphens in effect using Chrome developer tools?


Tags: html,css,google-chrome,google-chrome-devtools,hyphen

Problem :

I am trying to set automatic hyphens via CSS. I am using the following CSS:

body {
  -moz-hyphens: auto;
  -ms-hyphens: auto;
  -o-hyphens: auto;
  -webkit-hyphens: auto;
  hyphens: auto;
}

My text does not seems to be hyphened. So I was checked the correct CSS is downloaded, and now I am trying to check for a particular element what hyphen is in effect. After pressing F12 I do not find any hyphen related CSS.

What am I missing?



Solution :

For a moment hyphens are not supported by chrome (except default value 'none' that gives nothing), so you will rather see no effect, maybe try some javascript solution instead: https://github.com/mnater/hyphenator

http://caniuse.com/#search=hyphens


    CSS Howto..

    How to apply ckeditor css to output

    CSS How to make text to scale like an image

    How to change expand div after click and collapse it after another click?

    How to insert line breaks between numbers and content in ordered list

    How to change iframe src using css

    How I can get an Image height and divide it by 2 using Jquery

    How do I center numbers in a table from Google Visualization API?

    How to modify one element of a class without bothering the rest with the same CSS class?

    How to write CSS keyframes to indeterminate material design progress bar

    How to add a color overlay to a background image?

    How to reload CSS after ajax call

    CSS & Button: How to override native CSS of html buttons element?

    How to move object into the screen from outside via jQuery transition

    Images don't show up in quiz results after start over button

    how to call css and js files in webview?

    How to get same cursor(hand) on links in all browser?

    How can I use a CSS3 transform on an element without stretching the text inside it?

    How do I apply a CSS class to Html.ActionLink in ASP.NET MVC?

    How do i add a background image to my header?

    How to implement this in pure CSS?

    JQuery function to show element dependent on the value of hidden HTML input element

    How to make
    , , or list display tabular data as a table?

    CSS: How do I prevent the background color of div from going behind the image it is sitting above?

    How to magnify images on hover using purely css? [closed]

    how to change color of href on hover

    Learning CSS, how to use stylesheet with master page

    How to make font-size less for 2px than parent element?

    How to use an SVG as a responsive repeating webpage background?

    How to replace fixed values in responsible form css

    How to customize HTML/CSS tooltips?