{"id":116,"date":"2025-10-14T13:38:17","date_gmt":"2025-10-14T13:38:17","guid":{"rendered":"https:\/\/season-shrestha.uk\/wp-blog\/?p=116"},"modified":"2025-10-14T13:59:47","modified_gmt":"2025-10-14T13:59:47","slug":"what-i-learned-this-week-class-5","status":"publish","type":"post","link":"https:\/\/season-shrestha.uk\/wp-blog\/what-i-learned-this-week-class-5\/","title":{"rendered":"What I learned this week.. (Class 5)"},"content":{"rendered":"\n<p>This week, I explored how design principles and CSS techniques work together to create visually balanced and readable web pages.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\">Design Principles<\/h2>\n\n\n\n<p>From the \u201cDesign Principles I\u201d lecture, I learned that strong visual design relies on balance, gradation &amp; contrast, and repetition &amp; rhythm.<\/p>\n\n\n\n<p>Balance ensures that visual weight is evenly distributed across a layout, creating harmony and clarity. It can be symmetric, asymmetric, radial, or crystallographic, depending on how elements are arranged. Factors such as position, size, color, space, and texture all influence balance.<\/p>\n\n\n\n<p>Gradation &amp; Contrast help establish visual hierarchy and guide user attention. By adjusting color, typography, and layout, designers can emphasize focal points and create depth.<\/p>\n\n\n\n<p>Repetition &amp; Rhythm bring consistency and unity to a design. Repeating visual elements like color, typography, or icons builds familiarity and improves usability across a site.<\/p>\n\n\n\n<p>These principles are visible in professional websites that maintain clear structure, consistent typography, and visually engaging layouts.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\">Research in some CSS properties<\/h2>\n\n\n\n<p>I also researched some CSS properties that improve text readability and presentation. The <code>t<strong>ext-rendering: optimizeLegibility;<\/strong><\/code> property enhances letter spacing and ligatures, resulting in smoother and more readable text. Similarly, <strong><code>-webkit-font-smoothing: antialiased;<\/code> and <code>-moz-osx-font-smoothing: grayscale;<\/code><\/strong> make text appear softer and cleaner by reducing rough pixel edges. <\/p>\n\n\n\n<p>These properties are used by popular websites such as Apple, Medium, CNN, and The Guardian to achieve a polished typographic look. However, they should be applied cautiously: excessive use can make text appear thinner or inconsistent across devices and browsers, and on some mobile devices or older browsers, <code>optimizeLegibility<\/code> may cause performance issues, rendering delays, or inconsistent text display.<\/p>\n\n\n\n<p>I also explored the <strong><code>ch<\/code> unit<\/strong>, which measures width based on the size of the \u201c0\u201d character of the font. It can be useful for setting text-based widths, such as column lengths or input fields (e.g., <code>width: 60ch;<\/code>). While I was trying to determine a character length that is optimal for users to read, I ended up discovering the <code>ch<\/code> unit. However, it\u2019s not always reliable, since the width of \u201c0\u201d varies between fonts, which can cause layout inconsistencies. For this reason, it\u2019s best avoided for precise or fully responsive designs.<\/p>\n\n\n\n<p>Even though these properties have drawbacks, it was interesting and valuable to research and experiment with them, as they offer insight into how subtle CSS techniques can enhance typography and user experience.<\/p>\n\n\n\n<p><\/p>\n\n\n\n<h6 class=\"wp-block-heading\">References<\/h6>\n\n\n\n<p><a href=\"https:\/\/medium.com\/@meyerweb\/what-is-the-css-ch-unit-20b999426ac0\">https:\/\/medium.com\/@meyerweb\/what-is-the-css-ch-unit-20b999426ac0<\/a><\/p>\n\n\n\n<p><a href=\"https:\/\/css-tricks.com\/almanac\/properties\/t\/text-rendering\/\">https:\/\/css-tricks.com\/almanac\/properties\/t\/text-rendering\/<\/a><\/p>\n\n\n\n<p><a href=\"https:\/\/developer.mozilla.org\/en-US\/docs\/Web\/CSS\/text-rendering\">https:\/\/developer.mozilla.org\/en-US\/docs\/Web\/CSS\/text-rendering<\/a><\/p>\n\n\n\n<p><a href=\"https:\/\/medium.com\/@wblekhoa\/talk-aboutthe-optimal-length-of-text-in-ux-ui-525e689f0b71\">https:\/\/medium.com\/@wblekhoa\/talk-aboutthe-optimal-length-of-text-in-ux-ui-525e689f0b71<\/a><\/p>\n\n\n\n<p><\/p>\n","protected":false},"excerpt":{"rendered":"<p>This week, I explored how design principles and CSS techniques work together to create visually balanced and readable web pages. Design Principles From the \u201cDesign Principles I\u201d lecture, I learned that strong visual design relies on balance, gradation &amp; contrast, and repetition &amp; rhythm. Balance ensures that visual weight is evenly distributed across a layout, [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[6],"tags":[],"class_list":["post-116","post","type-post","status-publish","format-standard","hentry","category-weekly-reflections"],"_links":{"self":[{"href":"https:\/\/season-shrestha.uk\/wp-blog\/wp-json\/wp\/v2\/posts\/116","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/season-shrestha.uk\/wp-blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/season-shrestha.uk\/wp-blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/season-shrestha.uk\/wp-blog\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/season-shrestha.uk\/wp-blog\/wp-json\/wp\/v2\/comments?post=116"}],"version-history":[{"count":4,"href":"https:\/\/season-shrestha.uk\/wp-blog\/wp-json\/wp\/v2\/posts\/116\/revisions"}],"predecessor-version":[{"id":121,"href":"https:\/\/season-shrestha.uk\/wp-blog\/wp-json\/wp\/v2\/posts\/116\/revisions\/121"}],"wp:attachment":[{"href":"https:\/\/season-shrestha.uk\/wp-blog\/wp-json\/wp\/v2\/media?parent=116"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/season-shrestha.uk\/wp-blog\/wp-json\/wp\/v2\/categories?post=116"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/season-shrestha.uk\/wp-blog\/wp-json\/wp\/v2\/tags?post=116"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}