{"id":9257,"date":"2021-09-27T12:54:40","date_gmt":"2021-09-27T12:54:40","guid":{"rendered":"https:\/\/www.scmgalaxy.com\/tutorials\/?p=9257"},"modified":"2021-09-27T12:54:42","modified_gmt":"2021-09-27T12:54:42","slug":"bootstrap-default-text-sizes","status":"publish","type":"post","link":"https:\/\/www.scmgalaxy.com\/tutorials\/bootstrap-default-text-sizes\/","title":{"rendered":"Bootstrap : Default Text Sizes"},"content":{"rendered":"\n<p class=\"wp-block-paragraph\"><strong>Bootstrap\u2019s<\/strong> font sizes are calculated off of the body font size by using rem values. If you change<br>the body font size all styles will be <strong>increased\/decreased automatically<\/strong>. <strong>Rem <\/strong>stands for \u201croot em\u201d<br>because it calculates the size based on the size of the root of the document or body tag.<\/p>\n\n\n\n<figure class=\"wp-block-table is-style-stripes\"><table><tbody><tr><td><strong>Tag \/ Class<\/strong><\/td><td><strong>Default Font size<\/strong><\/td><\/tr><tr><td>body<\/td><td>16px; line-height: 1.5;<br>font-family: \u201cHelvetica Neue\u201d, Helvetica, Arial,<br>sans-serif;<\/td><\/tr><tr><td>p, li<\/td><td>1rem \/ 16px<\/td><\/tr><tr><td>h1<\/td><td>2.5rem \/ 40px<\/td><\/tr><tr><td>h1 small<\/td><td>80% \/ 32px<\/td><\/tr><tr><td>h2<\/td><td>2rem \/ 32px<\/td><\/tr><tr><td>h2 small<\/td><td>80% \/ 25.6px<\/td><\/tr><tr><td>h3<\/td><td>1.75rem \/ 28px<\/td><\/tr><tr><td>h3 small<\/td><td>80% \/ 22.4px<\/td><\/tr><tr><td>h4<\/td><td>1.5rem \/ 24px<\/td><\/tr><tr><td>h4 small<\/td><td>80% \/ 24px<\/td><\/tr><tr><td>h5<\/td><td>1.25rem \/ 20px<\/td><\/tr><tr><td>h5 small<\/td><td>80% \/ 16px<\/td><\/tr><tr><td>h6<\/td><td>1rem \/ 16px<\/td><\/tr><tr><td>h6 small<\/td><td>80% \/ 12.8px<\/td><\/tr><tr><td>.display-1<\/td><td>6rem \/ 90px<\/td><\/tr><tr><td>.display-2<\/td><td>5.5rem \/ 82.5px<\/td><\/tr><tr><td>.display-3<\/td><td>4.5rem \/ 67.5px<\/td><\/tr><tr><td>.display-4<\/td><td>3.5rem \/ 52.5px<\/td><\/tr><\/tbody><\/table><\/figure>\n","protected":false},"excerpt":{"rendered":"<p>Bootstrap\u2019s font sizes are calculated off of the body font size by using rem values. If you changethe body font [&hellip;]<\/p>\n","protected":false},"author":34,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"_joinchat":[],"footnotes":""},"categories":[5670],"tags":[568,5390,6836,6835,1122,6837,6839,545,4459,373,593,6840,213,670],"class_list":["post-9257","post","type-post","status-publish","format-standard","hentry","category-bootstrap","tag-bootstrap","tag-bootstrap-4-2","tag-bootstrap-default-text-size","tag-default-text-sizez","tag-guide","tag-h1-dtext-size","tag-h1-size-in-px-bootstrap-html","tag-how","tag-html","tag-perforce","tag-process","tag-rem-stands-for","tag-tutorial","tag-what"],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v28.4 - https:\/\/yoast.com\/product\/yoast-seo-wordpress\/ -->\n<title>Bootstrap : Default Text Sizes - scmGalaxy<\/title>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/www.scmgalaxy.com\/tutorials\/bootstrap-default-text-sizes\/\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"Bootstrap : Default Text Sizes - scmGalaxy\" \/>\n<meta property=\"og:description\" content=\"Bootstrap\u2019s font sizes are calculated off of the body font size by using rem values. If you changethe body font [&hellip;]\" \/>\n<meta property=\"og:url\" content=\"https:\/\/www.scmgalaxy.com\/tutorials\/bootstrap-default-text-sizes\/\" \/>\n<meta property=\"og:site_name\" content=\"scmGalaxy\" \/>\n<meta property=\"article:published_time\" content=\"2021-09-27T12:54:40+00:00\" \/>\n<meta property=\"article:modified_time\" content=\"2021-09-27T12:54:42+00:00\" \/>\n<meta name=\"author\" content=\"vikashdev k\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:label1\" content=\"Written by\" \/>\n\t<meta name=\"twitter:data1\" content=\"vikashdev k\" \/>\n\t<meta name=\"twitter:label2\" content=\"Est. reading time\" \/>\n\t<meta name=\"twitter:data2\" content=\"1 minute\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\\\/\\\/schema.org\",\"@graph\":[{\"@type\":\"Article\",\"@id\":\"https:\\\/\\\/www.scmgalaxy.com\\\/tutorials\\\/bootstrap-default-text-sizes\\\/#article\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/www.scmgalaxy.com\\\/tutorials\\\/bootstrap-default-text-sizes\\\/\"},\"author\":{\"name\":\"vikashdev k\",\"@id\":\"https:\\\/\\\/www.scmgalaxy.com\\\/tutorials\\\/#\\\/schema\\\/person\\\/ec4d1004b3acffc7df65899e880c7515\"},\"headline\":\"Bootstrap : Default Text Sizes\",\"datePublished\":\"2021-09-27T12:54:40+00:00\",\"dateModified\":\"2021-09-27T12:54:42+00:00\",\"mainEntityOfPage\":{\"@id\":\"https:\\\/\\\/www.scmgalaxy.com\\\/tutorials\\\/bootstrap-default-text-sizes\\\/\"},\"wordCount\":122,\"commentCount\":0,\"keywords\":[\"Bootstrap\",\"bootstrap 4\",\"bootstrap default text size\",\"default text sizez\",\"Guide\",\"h1 dtext size\",\"h1 size in px bootstrap html\",\"How\",\"HTML\",\"Perforce\",\"Process\",\"rem stands for\",\"Tutorial\",\"What\"],\"articleSection\":[\"Bootstrap\"],\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"CommentAction\",\"name\":\"Comment\",\"target\":[\"https:\\\/\\\/www.scmgalaxy.com\\\/tutorials\\\/bootstrap-default-text-sizes\\\/#respond\"]}]},{\"@type\":\"WebPage\",\"@id\":\"https:\\\/\\\/www.scmgalaxy.com\\\/tutorials\\\/bootstrap-default-text-sizes\\\/\",\"url\":\"https:\\\/\\\/www.scmgalaxy.com\\\/tutorials\\\/bootstrap-default-text-sizes\\\/\",\"name\":\"Bootstrap : Default Text Sizes - scmGalaxy\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/www.scmgalaxy.com\\\/tutorials\\\/#website\"},\"datePublished\":\"2021-09-27T12:54:40+00:00\",\"dateModified\":\"2021-09-27T12:54:42+00:00\",\"author\":{\"@id\":\"https:\\\/\\\/www.scmgalaxy.com\\\/tutorials\\\/#\\\/schema\\\/person\\\/ec4d1004b3acffc7df65899e880c7515\"},\"breadcrumb\":{\"@id\":\"https:\\\/\\\/www.scmgalaxy.com\\\/tutorials\\\/bootstrap-default-text-sizes\\\/#breadcrumb\"},\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\\\/\\\/www.scmgalaxy.com\\\/tutorials\\\/bootstrap-default-text-sizes\\\/\"]}]},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\\\/\\\/www.scmgalaxy.com\\\/tutorials\\\/bootstrap-default-text-sizes\\\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\\\/\\\/www.scmgalaxy.com\\\/tutorials\\\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Bootstrap : Default Text Sizes\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\\\/\\\/www.scmgalaxy.com\\\/tutorials\\\/#website\",\"url\":\"https:\\\/\\\/www.scmgalaxy.com\\\/tutorials\\\/\",\"name\":\"scmGalaxy\",\"description\":\"A Platform for Software Engineers\",\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\\\/\\\/www.scmgalaxy.com\\\/tutorials\\\/?s={search_term_string}\"},\"query-input\":{\"@type\":\"PropertyValueSpecification\",\"valueRequired\":true,\"valueName\":\"search_term_string\"}}],\"inLanguage\":\"en-US\"},{\"@type\":\"Person\",\"@id\":\"https:\\\/\\\/www.scmgalaxy.com\\\/tutorials\\\/#\\\/schema\\\/person\\\/ec4d1004b3acffc7df65899e880c7515\",\"name\":\"vikashdev k\",\"image\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\\\/\\\/secure.gravatar.com\\\/avatar\\\/738fe2694a5769295d6bbe57066232fcf8351e09ce1090f200c7b34f770fa61b?s=96&d=mm&r=g\",\"url\":\"https:\\\/\\\/secure.gravatar.com\\\/avatar\\\/738fe2694a5769295d6bbe57066232fcf8351e09ce1090f200c7b34f770fa61b?s=96&d=mm&r=g\",\"contentUrl\":\"https:\\\/\\\/secure.gravatar.com\\\/avatar\\\/738fe2694a5769295d6bbe57066232fcf8351e09ce1090f200c7b34f770fa61b?s=96&d=mm&r=g\",\"caption\":\"vikashdev k\"},\"url\":\"https:\\\/\\\/www.scmgalaxy.com\\\/tutorials\\\/author\\\/vikashdev\\\/\"}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"Bootstrap : Default Text Sizes - scmGalaxy","robots":{"index":"index","follow":"follow","max-snippet":"max-snippet:-1","max-image-preview":"max-image-preview:large","max-video-preview":"max-video-preview:-1"},"canonical":"https:\/\/www.scmgalaxy.com\/tutorials\/bootstrap-default-text-sizes\/","og_locale":"en_US","og_type":"article","og_title":"Bootstrap : Default Text Sizes - scmGalaxy","og_description":"Bootstrap\u2019s font sizes are calculated off of the body font size by using rem values. If you changethe body font [&hellip;]","og_url":"https:\/\/www.scmgalaxy.com\/tutorials\/bootstrap-default-text-sizes\/","og_site_name":"scmGalaxy","article_published_time":"2021-09-27T12:54:40+00:00","article_modified_time":"2021-09-27T12:54:42+00:00","author":"vikashdev k","twitter_card":"summary_large_image","twitter_misc":{"Written by":"vikashdev k","Est. reading time":"1 minute"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"Article","@id":"https:\/\/www.scmgalaxy.com\/tutorials\/bootstrap-default-text-sizes\/#article","isPartOf":{"@id":"https:\/\/www.scmgalaxy.com\/tutorials\/bootstrap-default-text-sizes\/"},"author":{"name":"vikashdev k","@id":"https:\/\/www.scmgalaxy.com\/tutorials\/#\/schema\/person\/ec4d1004b3acffc7df65899e880c7515"},"headline":"Bootstrap : Default Text Sizes","datePublished":"2021-09-27T12:54:40+00:00","dateModified":"2021-09-27T12:54:42+00:00","mainEntityOfPage":{"@id":"https:\/\/www.scmgalaxy.com\/tutorials\/bootstrap-default-text-sizes\/"},"wordCount":122,"commentCount":0,"keywords":["Bootstrap","bootstrap 4","bootstrap default text size","default text sizez","Guide","h1 dtext size","h1 size in px bootstrap html","How","HTML","Perforce","Process","rem stands for","Tutorial","What"],"articleSection":["Bootstrap"],"inLanguage":"en-US","potentialAction":[{"@type":"CommentAction","name":"Comment","target":["https:\/\/www.scmgalaxy.com\/tutorials\/bootstrap-default-text-sizes\/#respond"]}]},{"@type":"WebPage","@id":"https:\/\/www.scmgalaxy.com\/tutorials\/bootstrap-default-text-sizes\/","url":"https:\/\/www.scmgalaxy.com\/tutorials\/bootstrap-default-text-sizes\/","name":"Bootstrap : Default Text Sizes - scmGalaxy","isPartOf":{"@id":"https:\/\/www.scmgalaxy.com\/tutorials\/#website"},"datePublished":"2021-09-27T12:54:40+00:00","dateModified":"2021-09-27T12:54:42+00:00","author":{"@id":"https:\/\/www.scmgalaxy.com\/tutorials\/#\/schema\/person\/ec4d1004b3acffc7df65899e880c7515"},"breadcrumb":{"@id":"https:\/\/www.scmgalaxy.com\/tutorials\/bootstrap-default-text-sizes\/#breadcrumb"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/www.scmgalaxy.com\/tutorials\/bootstrap-default-text-sizes\/"]}]},{"@type":"BreadcrumbList","@id":"https:\/\/www.scmgalaxy.com\/tutorials\/bootstrap-default-text-sizes\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https:\/\/www.scmgalaxy.com\/tutorials\/"},{"@type":"ListItem","position":2,"name":"Bootstrap : Default Text Sizes"}]},{"@type":"WebSite","@id":"https:\/\/www.scmgalaxy.com\/tutorials\/#website","url":"https:\/\/www.scmgalaxy.com\/tutorials\/","name":"scmGalaxy","description":"A Platform for Software Engineers","potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/www.scmgalaxy.com\/tutorials\/?s={search_term_string}"},"query-input":{"@type":"PropertyValueSpecification","valueRequired":true,"valueName":"search_term_string"}}],"inLanguage":"en-US"},{"@type":"Person","@id":"https:\/\/www.scmgalaxy.com\/tutorials\/#\/schema\/person\/ec4d1004b3acffc7df65899e880c7515","name":"vikashdev k","image":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/secure.gravatar.com\/avatar\/738fe2694a5769295d6bbe57066232fcf8351e09ce1090f200c7b34f770fa61b?s=96&d=mm&r=g","url":"https:\/\/secure.gravatar.com\/avatar\/738fe2694a5769295d6bbe57066232fcf8351e09ce1090f200c7b34f770fa61b?s=96&d=mm&r=g","contentUrl":"https:\/\/secure.gravatar.com\/avatar\/738fe2694a5769295d6bbe57066232fcf8351e09ce1090f200c7b34f770fa61b?s=96&d=mm&r=g","caption":"vikashdev k"},"url":"https:\/\/www.scmgalaxy.com\/tutorials\/author\/vikashdev\/"}]}},"_links":{"self":[{"href":"https:\/\/www.scmgalaxy.com\/tutorials\/wp-json\/wp\/v2\/posts\/9257","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.scmgalaxy.com\/tutorials\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.scmgalaxy.com\/tutorials\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.scmgalaxy.com\/tutorials\/wp-json\/wp\/v2\/users\/34"}],"replies":[{"embeddable":true,"href":"https:\/\/www.scmgalaxy.com\/tutorials\/wp-json\/wp\/v2\/comments?post=9257"}],"version-history":[{"count":1,"href":"https:\/\/www.scmgalaxy.com\/tutorials\/wp-json\/wp\/v2\/posts\/9257\/revisions"}],"predecessor-version":[{"id":9266,"href":"https:\/\/www.scmgalaxy.com\/tutorials\/wp-json\/wp\/v2\/posts\/9257\/revisions\/9266"}],"wp:attachment":[{"href":"https:\/\/www.scmgalaxy.com\/tutorials\/wp-json\/wp\/v2\/media?parent=9257"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.scmgalaxy.com\/tutorials\/wp-json\/wp\/v2\/categories?post=9257"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.scmgalaxy.com\/tutorials\/wp-json\/wp\/v2\/tags?post=9257"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}