[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"detail-sidebar-cat-0-en-105":3,"doc-seo-701118-105":59,"doc-detail-701118-en":134,"doc-similar-701118":172},{"code":4,"msg":5,"data":6},0,"success",[7,13,18,23,28,33,38,43,48,51,55],{"id":8,"doc_module":4,"doc_module_name":9,"category_name":10,"show_sort_weight":11,"slug":12},1,"Document","Story & Novel",90,"story-novel",{"id":14,"doc_module":4,"doc_module_name":9,"category_name":15,"show_sort_weight":16,"slug":17},2,"Literature",80,"literature",{"id":19,"doc_module":4,"doc_module_name":9,"category_name":20,"show_sort_weight":21,"slug":22},4,"Exam",70,"exam",{"id":24,"doc_module":4,"doc_module_name":9,"category_name":25,"show_sort_weight":26,"slug":27},5,"Comic",60,"comic",{"id":29,"doc_module":4,"doc_module_name":9,"category_name":30,"show_sort_weight":31,"slug":32},6,"Technology",50,"technology",{"id":34,"doc_module":4,"doc_module_name":9,"category_name":35,"show_sort_weight":36,"slug":37},7,"Healthcare",40,"healthcare",{"id":39,"doc_module":4,"doc_module_name":9,"category_name":40,"show_sort_weight":41,"slug":42},8,"Research & Report",30,"research-report",{"id":44,"doc_module":4,"doc_module_name":9,"category_name":45,"show_sort_weight":46,"slug":47},9,"Religion & Spirituality",20,"religion-spirituality",{"id":46,"doc_module":4,"doc_module_name":9,"category_name":49,"show_sort_weight":46,"slug":50},"World Cup","world-cup",{"id":52,"doc_module":4,"doc_module_name":9,"category_name":53,"show_sort_weight":52,"slug":54},10,"Lifestyle","lifestyle",{"id":56,"doc_module":4,"doc_module_name":9,"category_name":57,"show_sort_weight":24,"slug":58},19,"General","general",{"code":4,"msg":60,"data":61},"ok",{"site_id":62,"language":63,"slug":64,"title":65,"keywords":66,"description":67,"schema_data":68,"social_meta":127,"head_meta":129,"extra_data":131,"updated_unix":133},105,"en","cs193x-web-programming-fundamentals-lecture-5-spring-2017","CS193X: Web Programming Fundamentals - Lecture 5 - Spring 2017","","Lecture 5 of Stanford's CS193X Web Programming Fundamentals, Spring 2017, reviews single row and column flexbox layouts, vh, vw, and box-sizing before moving into CSS positioning, mobile layout, and JavaScript. It corrects padding and margin shorthand ordering, then summarizes font properties including font-family, color, font-size, line-height, text-align, text-decoration, text-transform, font-style, font-weight, and letter-spacing. It also introduces a Codepen navigation example.",{"@graph":69,"@context":126},[70,84,105],{"@type":71,"itemListElement":72},"BreadcrumbList",[73,77,79,82],{"item":74,"name":75,"@type":76,"position":8},"https://docshare.wps.com","Home","ListItem",{"item":78,"name":9,"@type":76,"position":14},"https://docshare.wps.com/document/",{"item":80,"name":30,"@type":76,"position":81},"https://docshare.wps.com/document/technology/",3,{"item":83,"name":65,"@type":76,"position":19},"https://docshare.wps.com/document/cs193x-web-programming-fundamentals-lecture-5-spring-2017/701118/",{"url":83,"name":65,"@type":85,"image":86,"author":91,"headline":65,"publisher":94,"fileFormat":97,"inLanguage":63,"description":67,"dateModified":98,"datePublished":99,"encodingFormat":97,"isAccessibleForFree":100,"interactionStatistic":101},"DigitalDocument",{"url":87,"@type":88,"width":89,"height":90},"https://docshare.wps.com/thumbnails/cs193x-web-programming-fundamentals-lecture-5-spring-2017/701118.png","ImageObject",300,407,{"name":92,"@type":93},"Đào","Person",{"url":74,"name":95,"@type":96},"DocShare","Organization","application/pdf","2026-11-17","2026-11-12",true,{"@type":102,"interactionType":103,"userInteractionCount":19},"InteractionCounter",{"@type":104},"ViewAction",{"@type":106,"mainEntity":107},"FAQPage",[108,114,118,122],{"name":109,"@type":110,"acceptedAnswer":111},"What course and lecture do these slides cover?","Question",{"text":112,"@type":113},"They cover Lecture 5 of CS193X: Web Programming Fundamentals, Spring 2017, taught by Victoria Kirst at Stanford.","Answer",{"name":115,"@type":110,"acceptedAnswer":116},"What homework changes are announced?",{"text":117,"@type":113},"Homework 1's deadline is extended to Wednesday, April 19, and Homework 2 will be released the same day.",{"name":119,"@type":110,"acceptedAnswer":120},"What CSS layout topics are reviewed?",{"text":121,"@type":113},"The slides review single row and column flexbox layouts, vh, vw, box-sizing, CSS positioning, and mobile layout considerations.",{"name":123,"@type":110,"acceptedAnswer":124},"Which font-related CSS properties are summarized?",{"text":125,"@type":113},"They include font-family, color, font-size, line-height, text-align, text-decoration, text-transform, font-style, font-weight, and letter-spacing.","https://schema.org",{"og:url":83,"og:type":128,"og:title":65,"og:site_name":95,"og:description":67},"article",{"robots":130,"canonical":83},"index,follow",{"doc_id":132,"site_id":62},701118,1794523552,{"code":4,"msg":5,"data":135},{"doc_id":132,"user_id":136,"nickname":92,"user_avatar":137,"doc_module":4,"category_id":29,"category_name":30,"doc_title":65,"doc_description":67,"doc_content":138,"file_id":139,"file_url":140,"file_type":141,"file_size":142,"view_count":19,"is_deleted":4,"is_public":8,"is_downloadable":8,"audit_status":8,"page_count":143,"language":144,"language_code":63,"site_id":62,"html_lang":63,"table_of_contents":145,"faqs":146,"seo_title":147,"seo_description":67,"update_tm":133,"read_time":148,"preview_page_count":29,"preview_urls":149},1374402968488,"https://ap-avatar.wpscdn.com/davatar_29158cc5080c5b710cf443261637dec0","CS193X:  \nWeb Programming Fundamentals  \nSpring 2017  \nVictoria Kirst  \n([vrk@stanford.edu](vrk@stanford.edu))  \nToday's schedule  \nToday  \n- Squarespace Layout  \n- Single row/column flexbox  \n- vh / vw / box-sizing  \nFriday  \n- position  \n- Random helpful CSS  \n- Mobile layouts  \n- CSS wrap-up  \nMonday  \n- Intro to JavaScript  \nAnnouncements  \n Homework 1 deadline extended!   \n- Due ~~Mon Apr 17~~ Wed Apr 19!  \n-  Details here  \nHomework 2 will go out Wed Apr 19 as well.  \nSee syllabus for adjusted schedule.  \nVictoria's Office Hours--> Friday  \n- Due to a meeting, my office hours will be Friday after class this week instead of today.  \nAmy / Cindy's Office Hours canceled this afternoon  \n- Email if you want to meet me at 4 in my office  \nMistake on padding/margin  \nThe shorthand for padding and margin actually go clockwise, not counter-clockwise (which...makes more sense)  \npadding: 2px 4px 3px 1px; \u003C-top|right|bottom|left margin: 2px 4px 3px 1px; \u003C-top|right|bottom|left  \n(Previous slides now fixed)  \nFont-related CSS review  \n\n| Name | Description |\n| --- | --- |\n| font-family | Font face (mdn) |\n| color | Font color (and always font color) (mdn) |\n| font-size | Font size (mdn) |\n| line-height | Line height (mdn) |\n| text-align | Alignment of text (mdn) |\n\nMore font-related CSS  \n\n| Name | Description |\n| --- | --- |\n| text-decoration | Can set underline, line-through (strikethrough) or none ([e.g. to](e.g. to) unset underline on hyperlinks) ( mdn ) |\n| text-transform | Can change font case, i.e . uppercase, lowercase, capitalize, none ( mdn ) |\n| font-style | Can set to italic or normal (e.g. to unset italic on \u003Cem>) ( mdn ) |\n| font-weight | Can set to bold or normal (e.g. to unset bold on h1-h6) ( mdn ) |\n| letter-spacing | Controls the space between letters ( mdn ) |\n\nFlexbox  \nReview: Flexbox  \nHow do we create this look? ( Codepen )  \nReview: Flexbox  \nHow do we create this look? ( Codepen )  \nContinuing where we left off!","cbCaicDgqcV3cWOQ","https://ap.wps.com/l/cbCaicDgqcV3cWOQ","pdf",2585178,55,"English","# Today's Schedule\n## Flexbox and Layout\n## CSS Box Model and Fonts\n# Announcements\n# CSS Review\n## Padding and Margin Shorthand\n## Font-Related Properties\n## Flexbox Examples","[{\"question\":\"What course and lecture do these slides cover?\",\"answer\":\"They cover Lecture 5 of CS193X: Web Programming Fundamentals, Spring 2017, taught by Victoria Kirst at Stanford.\"},{\"question\":\"What homework changes are announced?\",\"answer\":\"Homework 1's deadline is extended to Wednesday, April 19, and Homework 2 will be released the same day.\"},{\"question\":\"What CSS layout topics are reviewed?\",\"answer\":\"The slides review single row and column flexbox layouts, vh, vw, box-sizing, CSS positioning, and mobile layout considerations.\"},{\"question\":\"Which font-related CSS properties are summarized?\",\"answer\":\"They include font-family, color, font-size, line-height, text-align, text-decoration, text-transform, font-style, font-weight, and letter-spacing.\"}]","CS193X: Web Programming Fundamentals - Lecture 5 - Spring 2017 | PDF",139,[150,154,157,161,165,169],{"page_no":8,"url":151,"width":152,"height":153},"https://res-academy.cache.wpscdn.com/upload/kdocshare/2026-11-12/fb51ed63b4805e7dca81b64ed86d4047.webp",983,736,{"page_no":14,"url":155,"width":156,"height":153},"https://res-academy.cache.wpscdn.com/upload/kdocshare/2026-11-12/27aef0470e10ec85019f7da29ff9a046.webp",982,{"page_no":81,"url":158,"width":159,"height":160},"https://res-academy.cache.wpscdn.com/upload/kdocshare/2026-11-12/8a06b8b05d39cdeb2a866185f6f80b5c.webp",981,735,{"page_no":19,"url":162,"width":163,"height":164},"https://res-academy.cache.wpscdn.com/upload/kdocshare/2026-11-12/ade65db9e52480889ebab026828f0aef.webp",980,734,{"page_no":24,"url":166,"width":167,"height":168},"https://res-academy.cache.wpscdn.com/upload/kdocshare/2026-11-12/753f0f826e8b52adc845af8d07580c65.webp",979,733,{"page_no":29,"url":170,"width":171,"height":168},"https://res-academy.cache.wpscdn.com/upload/kdocshare/2026-11-12/d759f251a41677fdd87c1616f0fa6959.webp",978,{"list":173,"token":66},[174,180,186,193,199,205,211,217,223,229],{"doc_id":175,"doc_title":176,"file_type":141,"home_preview_img_url":177,"slug":178,"view_count":19,"category_name":30,"create_tm":179},686715,"HTML and CSS Basics - III - CSS review, backgrounds, fonts, and the box model","https://weboffice-temporary-prod-sg.obs.ap-southeast-3.myhuaweicloud.com:443/export/thumbnail/export/thumbnail/110230001090598/last/300/407?AWSAccessKeyId=HPUAE6OPDRI9QZXR6WJG&Expires=1796110499&Signature=duDivuHiXWVOMIYa%2BLPFL54PYkQ%3D","html-and-css-basics-iii-css-review-backgrounds-fonts-and-the-box-model",1794061491,{"doc_id":181,"doc_title":182,"file_type":141,"home_preview_img_url":183,"slug":184,"view_count":29,"category_name":30,"create_tm":185},686718,"Font Styles - Text Styling & Layout Styles Guide","https://weboffice-temporary-prod-sg.obs.ap-southeast-3.myhuaweicloud.com:443/export/thumbnail/export/thumbnail/110230001090648/last/300/407?AWSAccessKeyId=HPUAE6OPDRI9QZXR6WJG&Expires=1796110499&Signature=KIHQyQ3OJ01Mp1%2BIyB6MAwAWqng%3D","font-styles-text-styling-layout-styles-guide",1794061497,{"doc_id":187,"doc_title":188,"file_type":141,"home_preview_img_url":189,"slug":190,"view_count":191,"category_name":30,"create_tm":192},491464,"HTML Cheat Sheet - A quick guide to HTML, CSS, and JavaScript basics","https://weboffice-temporary-prod-sg.obs.ap-southeast-3.myhuaweicloud.com:443/export/thumbnail/export/thumbnail/110229928196033/last/300/407?AWSAccessKeyId=HPUAE6OPDRI9QZXR6WJG&Expires=1796110499&Signature=OyiOdivwj3JTgUG9Tyo61X67ieg%3D","html-cheat-sheet-a-quick-guide-to-html-css-and-javascript-basics",21,1790849720,{"doc_id":194,"doc_title":195,"file_type":141,"home_preview_img_url":196,"slug":197,"view_count":19,"category_name":30,"create_tm":198},693038,"HTML Styles-CSS - learn cascading style sheets","https://weboffice-temporary-prod-sg.obs.ap-southeast-3.myhuaweicloud.com:443/export/thumbnail/export/thumbnail/110230005053917/last/300/407?AWSAccessKeyId=HPUAE6OPDRI9QZXR6WJG&Expires=1796110499&Signature=zSEiK90YLyp89HA69OheV%2FHB%2BTU%3D","html-styles-css-learn-cascading-style-sheets",1794246445,{"doc_id":200,"doc_title":201,"file_type":141,"home_preview_img_url":202,"slug":203,"view_count":19,"category_name":30,"create_tm":204},681941,"HTML & CSS - Course Material - Hamburg Coding School - January 2022","https://weboffice-temporary-prod-sg.obs.ap-southeast-3.myhuaweicloud.com:443/export/thumbnail/export/thumbnail/110229999293280/last/300/407?AWSAccessKeyId=HPUAE6OPDRI9QZXR6WJG&Expires=1796110499&Signature=vZjH%2FXpluW9wY6ODOT%2BR5WGGEys%3D","html-css-course-material-hamburg-coding-school-january-2022",1793957200,{"doc_id":206,"doc_title":207,"file_type":141,"home_preview_img_url":208,"slug":209,"view_count":34,"category_name":30,"create_tm":210},703160,"CSS in Depth - Second Edition - comprehensive CSS learning guide","https://weboffice-temporary-prod-sg.obs.ap-southeast-3.myhuaweicloud.com:443/export/thumbnail/export/thumbnail/110230013426146/last/300/407?AWSAccessKeyId=HPUAE6OPDRI9QZXR6WJG&Expires=1796110499&Signature=pcGeImafcA%2FTtby3uxErfMiPM94%3D","css-in-depth-second-edition-comprehensive-css-learning-guide",1794561904,{"doc_id":212,"doc_title":213,"file_type":141,"home_preview_img_url":214,"slug":215,"view_count":81,"category_name":30,"create_tm":216},703169,"CSS in Depth - Box model and border-box sizing","https://weboffice-temporary-prod-sg.obs.ap-southeast-3.myhuaweicloud.com:443/export/thumbnail/export/thumbnail/110230013426719/last/300/407?AWSAccessKeyId=HPUAE6OPDRI9QZXR6WJG&Expires=1796110499&Signature=11JLbX3aoZnyzwtoDhck0VJ5Ho8%3D","css-in-depth-box-model-and-border-box-sizing",1794561927,{"doc_id":218,"doc_title":219,"file_type":141,"home_preview_img_url":220,"slug":221,"view_count":29,"category_name":30,"create_tm":222},693037,"Cascading Style Sheets (CSS) - CS142 Lecture Notes - CSS 1 - Driving problem behind CSS","https://weboffice-temporary-prod-sg.obs.ap-southeast-3.myhuaweicloud.com:443/export/thumbnail/export/thumbnail/110230004257728/last/300/407?AWSAccessKeyId=HPUAE6OPDRI9QZXR6WJG&Expires=1796110499&Signature=Gokr9U7jQc2%2FX1dDRon75jc%2B7Vk%3D","cascading-style-sheets-css-cs142-lecture-notes-css-1-driving-problem-behind-css",1794246439,{"doc_id":224,"doc_title":225,"file_type":141,"home_preview_img_url":226,"slug":227,"view_count":19,"category_name":30,"create_tm":228},701113,"A Complete Guide to Flexbox - CSS flexbox properties","https://weboffice-temporary-prod-sg.obs.ap-southeast-3.myhuaweicloud.com:443/export/thumbnail/export/thumbnail/110230012050504/last/300/407?AWSAccessKeyId=HPUAE6OPDRI9QZXR6WJG&Expires=1796110499&Signature=uK2iMPJtpd%2BQymz4WFpUG6PpDns%3D","a-complete-guide-to-flexbox-css-flexbox-properties",1794523516,{"doc_id":230,"doc_title":231,"file_type":141,"home_preview_img_url":232,"slug":233,"view_count":29,"category_name":30,"create_tm":234},685839,"DCA-04 Block 2 - WEB-DESIGN - Unit-3 - Getting Started With CSS","https://weboffice-temporary-prod-sg.obs.ap-southeast-3.myhuaweicloud.com:443/export/thumbnail/export/thumbnail/110230000223066/last/300/407?AWSAccessKeyId=HPUAE6OPDRI9QZXR6WJG&Expires=1796110499&Signature=i01ypXuGxHr37h5tVYP8QjzeE80%3D","dca-04-block-2-web-design-unit-3-getting-started-with-css",1794019251]