html5 - The font-size shown in browser is different from the set in css -
i want use meta tag , set css, font-size 30px, when typing more code in tag p, font-size became 38.317px in chrome browser; please tell me why?
<!doctype html> <html lang="en"> <head> <meta charset="utf-8"> <meta name="viewport" content="initial-scale=0.5, maximum-scale=0.5, minimum-scale=0.5, user-scalable=no"> <title>document</title> <style> p{ word-break: break-all; font-size: 30px; } </style> </head> <body> <p>ssssssss</p> </body> </html>
i tried code , both chrome , firefox don't change font-size.
Comments
Post a Comment