Style

CSS word-break Property

The CSS word-break property specifies how words should break when reaching the end of a line. Example: <!DOCTYPE html> <html> <head> <style> p { width: 140px; border: 1px solid #000000; } p.a { word-break: normal; } p.b { word-break: keep-all; } p.c { word-break: break-all; } </style> </head> <body> <h2>word-break:[...]

By |May 25, 2019|Tags: , , |
Go to Top