This document discusses CSS layout techniques, including past, present, and future options. It covers problems with traditional table-based and float-based layouts, as well as new CSS3 specifications for flexible box layout, grid layout, multi-column layout, and regions. Key upcoming features discussed include new float values, containment of floats, wrapping of floats, grid layout definitions and placement of elements, and flexible box properties for automatic sizing of elements.
Here is a small presentation on an important css3 layout property -flexbox, which renders a sense of predictability to the items assigned this property across all screen size.
Here is a small presentation on an important css3 layout property -flexbox, which renders a sense of predictability to the items assigned this property across all screen size.
AWS Lambda 내부 동작 방식 및 활용 방법 자세히 살펴 보기 - 김일호 솔루션즈 아키텍트 매니저, AWS :: AWS Summit ...Amazon Web Services Korea
AWS Lambda 내부 동작 방식 및 활용 방법 자세히 살펴 보기
김일호 솔루션즈 아키텍트 매니저, AWS
AWS Lambda는 서버리스 아키텍처의 핵심 서비스입니다. 본 세션에서는 AWS Lambda에 내부 동작 방식을 소개하고, Lambda Layer, 맞춤형 런타임 등 신규로 소개된 기능 및 사용시 도움이 되는 성능 및 확장을 위한 다양한 팁들을 소개합니다.
Intro to Flexbox - A Magical CSS PropertyAdam Soucie
Flexbox is a new feature in CSS that drastically changes the way we think about layout. In short, it's magic, and it makes building responsive sites a breeze. Adam will demo flexbox and teach you how a few lines of CSS can get you started building responsive sites with this great new feature!
This Edureka "Angular Directives" tutorial will help you to learn about different directives in Angular 2. Below are the topics covered in this tutorial:
1) Why we need Angular Directive?
2) What is Angular Directive?
3) Types of Angular Directive
4) Built-in Angular Directives
5) Working with Custom Angular Directives
Subscribe to our channel to get updates. Check our complete Angular playlist here: https://goo.gl/09KsDC
If you are using jQuery, you need to understand the Document Object Model and how it accounts for all the elements inside any HTML document or Web page.
Presentation about the native browser way for building web components. We look at examples and the pros and cons of doing it natively and using a library. At the end we look at the Angular way of wrapping custom components into Custom Elements.
AWS Lambda 내부 동작 방식 및 활용 방법 자세히 살펴 보기 - 김일호 솔루션즈 아키텍트 매니저, AWS :: AWS Summit ...Amazon Web Services Korea
AWS Lambda 내부 동작 방식 및 활용 방법 자세히 살펴 보기
김일호 솔루션즈 아키텍트 매니저, AWS
AWS Lambda는 서버리스 아키텍처의 핵심 서비스입니다. 본 세션에서는 AWS Lambda에 내부 동작 방식을 소개하고, Lambda Layer, 맞춤형 런타임 등 신규로 소개된 기능 및 사용시 도움이 되는 성능 및 확장을 위한 다양한 팁들을 소개합니다.
Intro to Flexbox - A Magical CSS PropertyAdam Soucie
Flexbox is a new feature in CSS that drastically changes the way we think about layout. In short, it's magic, and it makes building responsive sites a breeze. Adam will demo flexbox and teach you how a few lines of CSS can get you started building responsive sites with this great new feature!
This Edureka "Angular Directives" tutorial will help you to learn about different directives in Angular 2. Below are the topics covered in this tutorial:
1) Why we need Angular Directive?
2) What is Angular Directive?
3) Types of Angular Directive
4) Built-in Angular Directives
5) Working with Custom Angular Directives
Subscribe to our channel to get updates. Check our complete Angular playlist here: https://goo.gl/09KsDC
If you are using jQuery, you need to understand the Document Object Model and how it accounts for all the elements inside any HTML document or Web page.
Presentation about the native browser way for building web components. We look at examples and the pros and cons of doing it natively and using a library. At the end we look at the Angular way of wrapping custom components into Custom Elements.
Frontend United: Start using CSS Grid Layout today!Rachel Andrew
Grid Layout is here! What is it? Why is it different to flexbox? How do I get started? What about old browsers? All these questions and more in a high speed tour of the spec.
Solving Layout Problems with CSS Grid & Friends - NordicJSRachel Andrew
I explain some of the common layout problems that CSS Grid and related specifications attempt to solve - while answering some of the common questions I am asked about Grid Layout.
Solving Layout Problems With CSS Grid and FriendsFITC
Presented at Web Unleashed 2017. More info at www.fitc.ca/webu
Presented by Rachel Andrew, Perch CMS
Overview
CSS Grid Layout launched into the majority of our browsers in 2017. As designers and developers have started to use Grid Rachel has been answering a lot of questions about the specifications. In this talk she’ll answer some of the common questions about Grid Layout in production – from dealing with old browsers to what might come next in CSS for layout. There will be plenty of practical tips for you to use in your projects today.
Objective
To give attendees practical ways in which they can use new CSS to solve tricky problems
Target Audience
Front-end developers
Assumed Audience Knowledge
Some CSS knowledge
Five Things Audience Members Will Learn
CSS Grid
Flexbox
Box alignment
Feature queries
CSS tips and tricks
With solidified syntax and great browser support, flexbox, the CSS layout module that can make your layouts more flexible and responsive with ease, is finally ready to be used in your real-world work. We’ll talk about the when, what, and how of using flexbox today: when it’s a great choice use flexbox (and when not to), what UI and UX problems it can help you solve, and how to add it to your layouts in a robust way that doesn’t harm non-supporting browsers or accessibility. You’ll learn a step-by-step process for deciding on and deploying flexbox, with lots of examples along the way of flexbox in the wild.
With solidified syntax and great browser support, flexbox, the CSS layout module that can make your layouts more flexible and responsive with ease, is finally ready to be used in your real-world work. We’ll talk about the when, what, and how of using flexbox today: when it’s a great choice use flexbox (and when not to), what UI and UX problems it can help you solve, and how to add it to your layouts in a robust way that doesn’t harm non-supporting browsers or accessibility. You’ll learn a step-by-step process for deciding on and deploying flexbox, with lots of examples along the way of flexbox in the wild.
With solidified syntax and great browser support, flexbox, the CSS layout module that can make your layouts more flexible and responsive with ease, is finally ready to be used in your real-world work. We’ll talk about the when, what, and how of using flexbox today: when it’s a great choice use flexbox (and when not to), what UI and UX problems it can help you solve, and how to add it to your layouts in a robust way that doesn’t harm non-supporting browsers or accessibility. You’ll learn a step-by-step process for deciding on and deploying flexbox, with lots of examples along the way of flexbox in the wild.
With solidified syntax and great browser support, flexbox, the CSS layout module that can make your layouts more flexible and responsive with ease, is finally ready to be used in your real-world work. We’ll talk about the when, what, and how of using flexbox today: when it’s a great choice use flexbox (and when not to), what UI and UX problems it can help you solve, and how to add it to your layouts in a robust way that doesn’t harm non-supporting browsers or accessibility. You’ll learn a step-by-step process for deciding on and deploying flexbox, with lots of examples along the way of flexbox in the wild.
Show vs. Tell in UX Design (Front in Amsterdam)Zoe Gillenwater
We’ve all heard these “laws” of design: “People don’t read on the web.” “If you have to explain how to use your product, you’ve failed.” “A picture is worth a thousand words.” It seems like our job as designers is to make things as intuitive as possible, using as few words as possible so that the meaning is self-evident through our visual design. But does this always produce the best user experience? Is showing always better than telling? We’ll look at several examples of design from the real world, the web, and apps that use showing, telling, or both as a method for producing the best UX. Rather than just assuming one is always better than the other, learn how to choose the right approach for your particular design problem and users.
Enhancing Responsiveness with Flexbox (CSS Conf EU 2015)Zoe Gillenwater
Flexbox and responsive web design go great together, like peanut butter and jelly! Flexbox gives you more control over the things you care about in a responsive layout and lets you create much morecomplex and reliable layouts than you can with floats, table display, or inline-block. All with far less CSS.
In this talk, you’ll learn what flexbox features are particularly suited to responsive layouts and how you can harness them by applying flexbox as a progressive enhancement. We’ll look at examples of responsive page components and patterns that you can enhance further by layering flexbox on top of other layout methods, ensuring all users get a good experience.
Responsive Flexbox Inspiration (Responsive Day Out)Zoe Gillenwater
I think the biggest obstacle to getting started with flexbox is not being able to picture how to use it, because you’re stuck thinking in terms of what was possible with floats and other old layout methods. It was the same when we switched from tables to CSS layout, and from fixed to fluid layout—you had to make a mental shift to start thinking in terms of the new possibilities and approaches to old problems.
Flexbox lets you do lots of things you haven’t been able to do before, and some things you could do before but now in a simpler way. Once you see what flexbox can do in the real world, you can start picturing how to use it in your own work to solve real RWD problems today. Flexbox can be tricky to wrap your head around at first, but once you’ve learned it, it’s an incredibly quick, cheap way for you to add more responsiveness to your components.
Enhancing Responsiveness With Flexbox (CSS Day)Zoe Gillenwater
View the demos and get links to related files at http://zomigi.com/blog/rwd-flexbox. In this presentation, I talked about how to actually put flexbox to use in the real world—today. I demonstrated a bunch of practical ideas for how to use flexbox as progressive enhancement to improve sizing, spacing, and order in responsive web design, while still ensuring non-supporting browsers get an acceptable fallback experience.
Enhancing Responsiveness With Flexbox (Smashing Conference)Zoe Gillenwater
View the demos and get links to related files at http://zomigi.com/blog/rwd-flexbox. In this presentation, I talked about how to actually put flexbox to use in the real world—today. I demonstrated a bunch of practical ideas for how to use flexbox as progressive enhancement to improve sizing, spacing, and order in responsive web design, while still ensuring non-supporting browsers get an acceptable fallback experience.
Enhancing Responsiveness with Flexbox (RWD Summit)Zoe Gillenwater
View the demos and get links to related files at http://zomigi.com/blog/rwd-flexbox. In this presentation, I talked about how to actually put flexbox to use in the real world—today. I demonstrated a bunch of practical ideas for how to use flexbox as progressive enhancement to improve sizing, spacing, and order in responsive web design, while still ensuring non-supporting browsers get an acceptable fallback experience.
Keynote presented at CSS Dev Conference on October 21, 2013. I talked about evolving who we are as web designers and developers by focusing on the power of "just one" in learning, failing, and accepting. Simplicity is powerful.
Putting Flexbox into Practice presentation for Fronteers conference, October 10, 2013. Slightly updated version of slides posted in September. Get links to the demo page and related resources at http://www.zomigi.com/blog/flexbox-presentation.
Putting Flexbox into Practice presentation for Blend Conference in Charlotte, September 7, 2013. Slightly updated version presented at Fronteers on October 10; slides at http://www.slideshare.net/zomigi/putting-flexbox-into-practice-fronteers. Get links to the demo page and related resources at http://www.zomigi.com/blog/flexbox-presentation.
The updated CSS Dev Conference version of my Building Responsive Layouts talk. Get links to lots of related resources at http://zomigi.com/blog/responsive-layouts-css-dev-conf.
Get links to lots of related resources at http://zomigi.com/blog/responsive-layouts-presentation.
In this presentation, you'll learn about two of the core components of responsive web design: fluid/liquid layouts and media queries. I cover fluid and hybrid fixed-fluid layout techniques, tips, and tricks so that you can build robust, flexible layouts without pulling your hair out. I then walk through adding CSS3 media queries onto a fluid layout to make it fully responsive to a variety of screen sizes and devices. Even older versions of Internet Explorer get some love with solutions to help them deal with your shiny new responsive layouts.
You could be a professional graphic designer and still make mistakes. There is always the possibility of human error. On the other hand if you’re not a designer, the chances of making some common graphic design mistakes are even higher. Because you don’t know what you don’t know. That’s where this blog comes in. To make your job easier and help you create better designs, we have put together a list of common graphic design mistakes that you need to avoid.
Expert Accessory Dwelling Unit (ADU) Drafting ServicesResDraft
Whether you’re looking to create a guest house, a rental unit, or a private retreat, our experienced team will design a space that complements your existing home and maximizes your investment. We provide personalized, comprehensive expert accessory dwelling unit (ADU)drafting solutions tailored to your needs, ensuring a seamless process from concept to completion.
Can AI do good? at 'offtheCanvas' India HCI preludeAlan Dix
Invited talk at 'offtheCanvas' IndiaHCI prelude, 29th June 2024.
https://www.alandix.com/academic/talks/offtheCanvas-IndiaHCI2024/
The world is being changed fundamentally by AI and we are constantly faced with newspaper headlines about its harmful effects. However, there is also the potential to both ameliorate theses harms and use the new abilities of AI to transform society for the good. Can you make the difference?
Dive into the innovative world of smart garages with our insightful presentation, "Exploring the Future of Smart Garages." This comprehensive guide covers the latest advancements in garage technology, including automated systems, smart security features, energy efficiency solutions, and seamless integration with smart home ecosystems. Learn how these technologies are transforming traditional garages into high-tech, efficient spaces that enhance convenience, safety, and sustainability.
Ideal for homeowners, tech enthusiasts, and industry professionals, this presentation provides valuable insights into the trends, benefits, and future developments in smart garage technology. Stay ahead of the curve with our expert analysis and practical tips on implementing smart garage solutions.
Book Formatting: Quality Control Checks for DesignersConfidence Ago
This presentation was made to help designers who work in publishing houses or format books for printing ensure quality.
Quality control is vital to every industry. This is why every department in a company need create a method they use in ensuring quality. This, perhaps, will not only improve the quality of products and bring errors to the barest minimum, but take it to a near perfect finish.
It is beyond a moot point that a good book will somewhat be judged by its cover, but the content of the book remains king. No matter how beautiful the cover, if the quality of writing or presentation is off, that will be a reason for readers not to come back to the book or recommend it.
So, this presentation points designers to some important things that may be missed by an editor that they could eventually discover and call the attention of the editor.
2. What I do
Books Web
Stunning CSS3: Accessibility
A Project-based Guide to specialist at AT&T
the Latest in CSS
Visual designer
www.stunningcss3.com
CSS developer
and consultant
Flexible Web Design:
Creating Liquid and Elastic
Layouts with CSS
www.flexiblewebbook.com
2
6. Problems with float layout
• Difficulty with containment
• Wrapping/float drop
• Difficulty with equal-height columns
• No float:center
• Visual location somewhat tied to HTML
order
6
8. Floats of the future
http://dev.w3.org/csswg/css3-box/
• New values for float property
• New ways to contain floats
• New float-displace property
8
9. New values for float property
These include values like start and
end to help with languages with RTL
direction, but check out how the
text wraps around this graphic
when using the new contour
value.
.unicorn {
float: right contour;
}
Pretty sweet, right? Almost as sweet as this rad
unicorn pegasus.
9
10. New ways to contain floats
Current behavior: New behavior:
One potential p {
way to get this min-height: contain-floats;
new behavior:
}
10
11. New ways to contain floats
Current behavior: New behavior:
Another way p {
(if element has clear-after: right;
bottom border
or padding): }
11
12. New ways to contain floats
Current behavior: New behavior:
Or maybe just: p {
clear: both after;
}
12
13. Current float wrap behavior
p {
float-displace: line;
}
• Floats lay over blocks
• Lines get shortened
13
16. Another option for float wrap
p {
float-displace: block;
}
• Floats do not lay over
blocks
• Block’s width reduced
16
17. CSS3 “content-flow” modules
• Multi-column Layout: flow a box’s
content into multiple columns in that box
• Regions: flow content into multiple,
separate boxes
• Exclusions and Shapes: make content
flow around and within areas in more
intricate ways than floating
17
21. Shapes
• Use SVG-like
syntax or image
URL to define
contours
• Inside shapes
apply to all blocks
• Outside shapes
apply to floats and
exclusions
Image from http://coding.smashingmagazine.com/2011/12/15/six-css-
layout-features-to-look-forward-to/ 21
34. Which is which?
2009 display:box X
2011 display:flexbox eh
Now display:flex
See also http://css-tricks.com/old-flexbox-and-new-flexbox/
34
35. How flexbox works
• Make boxes automatically grow to fill
space or shrink to avoid overflow
• Give boxes proportional measurements
• Lay out boxes in any direction
• Align boxes on any side
• Place boxes out of order from HTML
35
38. Create a flex container
<div class="feature-wrap">
<div class="feature" id="feature-candy">
...</div>
<div class="feature" id="feature-pastry">
...</div>
<div class="feature" id="feature-dessert">
...</div>
</div>
.feature-wrap { Make sure to also add
display: flex; the prefixed values and
} properties for now.
38
39. How the CSS might really look
.feature-wrap {
Optional for IE 10
display: -ms-flexbox;
display: -moz-flex; Optional for testing in
FF 18 and 19
display: -webkit-flex;
display: flex; Needed for Chrome and
(someday) Safari
}
39
40. Specify direction of flex items
.feature-wrap {
display: flex;
flex-direction: row; Default value
}
Switch to vertical stacking:
@media screen and (max-width:500px) {
.feature-wrap {
display: flex;
flex-direction: column;
}
} 40
41. Setting a point of reference
Main axis
Cross axis
for flexdirection: row
41
48. Don’t need to do this anymore
.2up .feature { width: 45% }
.3up .feature { width: 30% }
.4up .feature { width: 22% }
48
49. Highlight a sale category
.sale {
padding: 130px 20px 20px 20px;
border-radius: 3px;
background-color: hsla(0,0%,100%,.4);
}
What percentage width would I set to
make this twice as wide as other boxes,
if I weren’t using flex?
49
50. Make sale box twice as wide
.sale {
flex: 2;
padding: 130px 20px 20px 20px;
border-radius: 3px;
background-color: hsla(0,0%,100%,.4);
}
50
51. Default equal-height columns!
.feature-wrap {
display: flex;
align-items: stretch;
}
This is the default value, so we don’t need
to actually set this property, but this shows
you what it looks like.
51
55. Move sale box to front of line
.sale {
order: -1;
flex: 2;
padding: 130px 20px 20px 20px;
border-radius: 3px;
background-color: hsla(0,0%,100%,.4);
}
Default order value is 0 for all flex items,
so -1 moves this one before others
55
57. Accessibility implications
Pro Con
Keep content in logical Focus/tab order won’t
order in HTML instead of always match expected
structuring HTML to order, may jump around
achieve visual layout seemingly randomly
57
72. Make the text input flex
#order, #order form { Make outer div and form
display: flex; into flex containers
align-items: center; } Vertically center kiddos
#order form {
Make form take up all
flex: 1; } space next to image
#order #message {
Make text input take up
flex: 1; all space in form left
min-width: 7em; after label and button
margin: 0 5px; } But don’t let it get
crazy-small
72
74. Use inline-block with flexbox
#order img, #order form {
display: inline-block;
vertical-align: middle; }
#order, #order form {
display: flex;
align-items: center; }
#order form {
flex: 1; }
#order #message {
flex: 1;
min-width: 7em;
margin: 0 5px; } 74
75. Full-width nav bar
nav ul { nav li {
display: table; display: table-cell;
width: 100%; text-align: center; }
margin: 0;
padding: 0;
list-style: none; }
75
76. Not so hot with no backgrounds
Uneven spacing
Don’t like these gaps
76
77. Even spacing with flexbox
nav ul {
display: flex;
justify-content: space-between;
margin: 0;
padding: 0;
list-style: none; }
77
80. Use inline-block with flexbox
nav ul {
display: flex;
justify-content: space-between;
margin: 0;
padding: 0;
list-style: none;
text-align: center;
}
nav li {
display: inline-block;
}
80
81. Or use Modernizr script
http://modernizr.com
nav ul { nav li {
display: table; display: table-cell;
width: 100%; }
margin: 0; .flexbox nav li {
padding: 0; display: list-item;
list-style: none; }
}
.flexbox nav ul {
display: flex;
}
81
83. Learn more
Download slides and get links at
http://zomigi.com/blog/css3-layout
Zoe Mickley Gillenwater
@zomigi
design@zomigi.com
zomigi.com | stunningcss3.com | flexiblewebbook.com
Title photo by Gilderic Photography (http://www.flickr.com/photos/gilderic/6885830288/)
Rocket icon by Jason Peters, fire icon by James Bond Icons, both from The Noun Project 83