{"id":6504,"date":"2024-04-14T15:31:27","date_gmt":"2024-04-14T07:31:27","guid":{"rendered":"https:\/\/webflow.tenten.co\/?p=6504"},"modified":"2024-04-15T23:29:10","modified_gmt":"2024-04-15T15:29:10","slug":"enter-values-and-measurements","status":"publish","type":"post","link":"https:\/\/webflow.tenten.co\/en\/enter-values-and-measurements\/","title":{"rendered":"Enter values and measurements"},"content":{"rendered":"<div class=\"docs_rich-text w-richtext\">\n<p id=\"\">If you&#8217;re setting the spacing, dimensions, or rotation of an element using transformations, you can input the numerical value along with the appropriate unit into the corresponding field. It&#8217;s also possible to perform calculations within numeric input fields. Need to increase the size of your div block? Type *2 after the current value and hit enter.<\/p>\n<p id=\"\">When you place an element on the canvas and adjust its size, the initial width and height of the element will align with its &#8220;natural&#8221; dimensions based on the existing layout flow.<\/p>\n<h2 id=\"\">Modifying input values with your keyboard<\/h2>\n<p id=\"\">Focus on a numerical field and use the up \u2191 and down \u2193 arrows on your keyboard to increment or decrement the value by 1. Holding down Shift while doing this will adjust the value by 10. Press ESC to unfocus the input field.<\/p>\n<h4 id=\"\">Applying preset spacing to multiple sides<\/h4>\n<p id=\"\">To set spacing for multiple sides using a preset:<\/p>\n<ol start=\"\" id=\"\">\n<li id=\"\">Navigate to the Spacing section and select a value for one of the sides<\/li>\n<li id=\"\">Hover over the desired preset value<\/li>\n<li id=\"\">Press and hold Option (on Mac) or Alt (on Windows) while clicking on the chosen value<\/li>\n<\/ol>\n<figure id=\"\" class=\"w-richtext-figure-type-image w-richtext-align-fullwidth\" data-rt-type=\"image\" data-rt-align=\"fullwidth\" data-rt-max-width=\"1500px\">\n<div id=\"\"><img decoding=\"async\" src=\"https:\/\/webflow-s3.tenten.co\/2024\/04\/64b94a3ede2b8de0ca2380b7_5fbee02d9e6b3ab6c1123513_2.png\" loading=\"lazy\" width=\"auto\" height=\"auto\" id=\"\" title=\"64b94a3ede2b8de0ca2380b7_5fbee02d9e6b3ab6c1123513_2\"><\/div>\n<\/figure>\n<p id=\"\">By following these steps, the preset will be applied to both sides of the element \u2014 or you can press Shift to apply the value to all sides simultaneously.<\/p>\n<h2 id=\"\">Adapting input values using your mouse<\/h2>\n<p id=\"\">Once you&#8217;ve clicked into a numeric input field, hold Option (on Mac) or Alt (on Windows) and then drag your mouse to adjust the value (drag left to decrease or right to increase). This way, you can make adjustments without removing your right hand from the mouse.<\/p>\n<figure id=\"\" class=\"w-richtext-figure-type-image w-richtext-align-fullwidth\" data-rt-type=\"image\" data-rt-align=\"fullwidth\" data-rt-max-width=\"1500px\">\n<div id=\"\"><img decoding=\"async\" src=\"https:\/\/webflow-s3.tenten.co\/2024\/04\/64b94a3ede2b8de0ca2380c7_5fbee2744a3ad77c4494dde8_3.png\" loading=\"lazy\" width=\"auto\" height=\"auto\" id=\"\" title=\"64b94a3ede2b8de0ca2380c7_5fbee2744a3ad77c4494dde8_3\"><\/div>\n<\/figure>\n<h4 id=\"\">Progressive values<\/h4>\n<p id=\"\">Hold Option (on Mac) or Alt (on Windows) to reveal incremental arrows next to your input field, allowing you to add or subtract incrementally by clicking the up or down arrow beside the value.<\/p>\n<figure id=\"\" class=\"w-richtext-figure-type-image w-richtext-align-fullwidth\" data-rt-type=\"image\" data-rt-align=\"fullwidth\" data-rt-max-width=\"1500px\">\n<div id=\"\"><img decoding=\"async\" src=\"https:\/\/webflow-s3.tenten.co\/2024\/04\/64b94a3ede2b8de0ca2380c3_5fbec184cfcce72880e66196_1.png\" loading=\"lazy\" alt=\"Add or subtract incrementally by clicking the up or down arrow next to your value\" width=\"auto\" height=\"auto\" id=\"\" title=\"64b94a3ede2b8de0ca2380c3_5fbec184cfcce72880e66196_1\"><\/div>\n<\/figure>\n<h4 id=\"\">Adjusting spacing values across multiple sides<\/h4>\n<p id=\"\">While adjusting the margin and padding controls, hold Option (on Mac) or Alt (on Windows) to uniformly apply the same value to all sides, or press Shift to apply the value inclusively.<\/p>\n<h2 id=\"\">Altering units<\/h2>\n<p id=\"\">You can modify the unit in an input field through the unit dropdown menu or by appending the unit after the value.<\/p>\n<p id=\"\">When switching from px to %, the approximate conversion will be automatically calculated for you.<\/p>\n<h2 id=\"\">CSS measurements<\/h2>\n<p id=\"\">Most input fields offer a variety of units to choose from, including:<\/p>\n<ul id=\"\">\n<li id=\"\">PX (Pixels) \u2013 relative to screen resolution<\/li>\n<li id=\"\">% (Percentage) \u2013 relative to parent element<\/li>\n<li id=\"\">EM \u2013 relative to parent element&#8217;s font size<\/li>\n<li id=\"\">REM \u2013 relative to body element&#8217;s font size<\/li>\n<li id=\"\">VH \u2013 relative to viewport height where 100vh is the viewport height<\/li>\n<li id=\"\">VW \u2013 relative to viewport width where 100vw is the viewport width<\/li>\n<li id=\"\">&#8211; \u2013 no unit<\/li>\n<li>Small, large, and dynamic viewport units (e.g., DVH, DVW, SVH, SVW, LVH, and LVW)<\/li>\n<\/ul>\n<p id=\"\">For certain fields, you can substitute the unit with values like:<\/p>\n<ul id=\"\">\n<li id=\"\">Auto<\/li>\n<li id=\"\">None<\/li>\n<\/ul>\n<h6><strong id=\"\">Please note:<\/strong> When using units in an input field within the Designer, SVH, SVW, LVH, and LVW units will not appear in the unit dropdown. To utilize these units in an input field, input the value followed by the unit letters (e.g., 100 SVH) in the field and press <strong id=\"\">Enter<\/strong>.<\/h6>\n<h3 id=\"\">Text style units<\/h3>\n<p id=\"\">When setting properties like font size or line height, the default unit applied to the input value is typically pixels (px). You have the option to choose from various other units that affect typography sizing.<\/p>\n<h4 id=\"\">Pixels (px) [Default]<\/h4>\n<p id=\"\">Font size values in pixels can scale proportionally with images and elements assigned a pixel value. To use pixels as the default value, simply type a numeric value, such as 90, and then hit enter. The value will be 90px.<\/p>\n<h4 id=\"\">Ems (em)<\/h4>\n<p id=\"\">Each browser has a standard font size, typically 16px. If you set the font size of an element to 1em, it will equate to 16px. Doubling it to 2em equals 32px.<\/p>\n<figure id=\"\" class=\"w-richtext-figure-type-image w-richtext-align-fullwidth\" data-rt-type=\"image\" data-rt-align=\"fullwidth\" data-rt-max-width=\"1500px\">\n<div id=\"\"><img decoding=\"async\" src=\"https:\/\/webflow-s3.tenten.co\/2024\/04\/64b94a3ede2b8de0ca2380bf_5fbef8987b999c67d652cc15_4.png\" loading=\"lazy\" alt=\"Typography units in Webflow\" width=\"auto\" height=\"auto\" id=\"\" title=\"64b94a3ede2b8de0ca2380bf_5fbef8987b999c67d652cc15_4\"><\/div>\n<\/figure>\n<p id=\"\">Ems are relative to the font size of their parents. So, if a parent has a font size value of 0.5em, a child paragraph with a font size of 1em will be 8px (16 x 0.5 = 8px), while another paragraph located elsewhere may be 16px.<\/p>\n<figure id=\"\" class=\"w-richtext-figure-type-image w-richtext-align-fullwidth\" data-rt-type=\"image\" data-rt-align=\"fullwidth\" data-rt-max-width=\"1500px\">\n<div id=\"\"><img decoding=\"async\" src=\"https:\/\/webflow-s3.tenten.co\/2024\/04\/64b94a3ede2b8de0ca2380bb_5fbef8a86c0d455760ab6981_5.png\" loading=\"lazy\" alt=\"Typography units in Webflow\" id=\"\" width=\"auto\" height=\"auto\" title=\"64b94a3ede2b8de0ca2380bb_5fbef8a86c0d455760ab6981_5\"><\/div>\n<\/figure>\n<h4 id=\"\">Rems or &#8211; Root ems (rem)<\/h4>\n<p id=\"\">As an alternative to ems, root ems (rems) are based on the HTML font size, maintaining consistency with the browser&#8217;s default font size. Hence, 1rem always equals 16px, regardless of the parent&#8217;s font size adjustments.<\/p>\n<figure id=\"\" class=\"w-richtext-figure-type-image w-richtext-align-fullwidth\" data-rt-type=\"image\" data-rt-align=\"fullwidth\" data-rt-max-width=\"1500px\">\n<div id=\"\"><img decoding=\"async\" src=\"https:\/\/webflow-s3.tenten.co\/2024\/04\/64b94a3ede2b8de0ca2380cb_5fbef8bec7b8ab28854fad2e_6.png\" loading=\"lazy\" alt=\"Typography units in Webflow\" id=\"\" width=\"auto\" height=\"auto\" title=\"64b94a3ede2b8de0ca2380cb_5fbef8bec7b8ab28854fad2e_6\"><\/div>\n<\/figure>\n<h4 id=\"\">Percentage (%)<\/h4>\n<p id=\"\">Similar to ems, percentages in typography sizing are relative to the parent element&#8217;s font size.<\/p>\n<h4 id=\"\">Viewport Units (vw &amp; vh)<\/h4>\n<p id=\"\">Viewport units are effective for creating responsive typography. Viewport width (vw) adjusts based on the viewport&#8217;s width, ideal for scaling text proportionally to the viewport width. Likewise, viewport height (vh) scales text relative to the viewport&#8217;s height.<\/p>\n<p id=\"\">When employing viewport units, it&#8217;s advisable to test across different devices, especially with vh, as font sizes may vary significantly.<\/p>\n<h3 id=\"\">Line spacing units<\/h3>\n<h4 id=\"\">Unitless [Default]<\/h4>\n<p id=\"\">Utilizing &#8220;unitless&#8221; produces line height as a multiple of the font size, automatically scaling the line height with font size changes. To set &#8220;unitless&#8221;, select &#8220;-&#8221; from the unit menu or type &#8220;-&#8221; after the value and press enter.<\/p>\n<h4 id=\"\">Percentage (%)<\/h4>\n<p id=\"\">Percentage values for line height also adjust in proportion to font size. However, percentage values may present inheritance complications, making &#8220;unitless&#8221; a preferable choice.<\/p>\n<h4 id=\"\">Fixed units<\/h4>\n<p id=\"\">For greater line height control, you can opt for fixed values like px, em, or rem.<\/p>\n<h3 id=\"\">Angle units<\/h3>\n<p id=\"\">Angle units are pivotal for shadows, transformations like rotate and skew, and the hue rotate filter. Positive values rotate clockwise, while negative values rotate counterclockwise.<\/p>\n<ul id=\"\">\n<li id=\"\">DEG (\u2013degrees) \u2013 spanning from 0 to 360deg, where 0 and 360 are equivalent.<\/li>\n<li id=\"\">RAD (\u2013radians) \u2013 equal to 180\/\u03c0 degrees or roughly 57.3deg<\/li>\n<li id=\"\">GRAD ( \u2013grads) \u2013 equal to 1\u2044400 of a full circle<\/li>\n<li id=\"\">TURN (\u2013 turns) \u2013 signifies one complete rotation, equivalent to 360deg.<\/li>\n<\/ul>\n<h3 id=\"\">Time units<\/h3>\n<p id=\"\">Time units are employed for defining durations in transitions and interactions.<\/p>\n<ul id=\"\">\n<li id=\"\">MS \u2013 milliseconds. 1000 milliseconds equals 1 second.<\/li>\n<\/ul>\n<p id=\"\">\u200d<\/p>\n<\/div>\n","protected":false},"excerpt":{"rendered":"Enter and update numeric values, and use different units in numeric input fields.","protected":false},"author":2,"featured_media":5280,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"_acf_changed":false,"om_disable_all_campaigns":false,"inline_featured_image":false,"_monsterinsights_skip_tracking":false,"_monsterinsights_sitenote_active":false,"_monsterinsights_sitenote_note":"","_monsterinsights_sitenote_category":0,"csco_display_header_overlay":false,"csco_singular_sidebar":"","csco_page_header_type":"","footnotes":""},"categories":[284],"tags":[],"class_list":{"0":"post-6504","1":"post","2":"type-post","3":"status-publish","4":"format-standard","5":"has-post-thumbnail","7":"category-layout-design","8":"cs-entry"},"acf":[],"aioseo_notices":[],"_links":{"self":[{"href":"https:\/\/webflow.tenten.co\/en\/wp-json\/wp\/v2\/posts\/6504","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/webflow.tenten.co\/en\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/webflow.tenten.co\/en\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/webflow.tenten.co\/en\/wp-json\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"https:\/\/webflow.tenten.co\/en\/wp-json\/wp\/v2\/comments?post=6504"}],"version-history":[{"count":0,"href":"https:\/\/webflow.tenten.co\/en\/wp-json\/wp\/v2\/posts\/6504\/revisions"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/webflow.tenten.co\/en\/wp-json\/wp\/v2\/media\/5157"}],"wp:attachment":[{"href":"https:\/\/webflow.tenten.co\/en\/wp-json\/wp\/v2\/media?parent=6504"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/webflow.tenten.co\/en\/wp-json\/wp\/v2\/categories?post=6504"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/webflow.tenten.co\/en\/wp-json\/wp\/v2\/tags?post=6504"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}