We have this legacy software platform, which was built in Ruby on Rails, and has a lot of problems, both visually and with general reliability.
We want to rebuild this entire platform in .NET, and we have the backend part of it figured out, but we need somebody to do the frontend, hopefully very quickly.
The Client
So, I built a frontend.
built it in a month.
They offered me full time.
Now we got a problem...
This is Jeff.
Jeff overcomplicates things.
Jeff is your enemy.
Now let's talk about frameworks.
We need a new website!
The Client
Okay, that means we need a framework.
Jeff
Bootstrap
Foundation
Cirrus
Element+
Material
Carbon
Primer
And like, a whole lot more...
Metro UI †
Montage
Onsen UI
YUI †
Topcoat
Jeet †
Ink
Kickstart †
etc etc etc
† this framework is deprecated
This is not a talk about frameworks.
This is a talk about...
This is a talk about...
This is a talk about...
&
But first, a word about...
is something I like to use
is presented here for brevity
is not a requirement
Viewport Units
(vw & vh)
div { width: ...; }
code
Result
500px
500 pixels wide
50%
50% of the container
66em
66 letters current font size
66rem
66 letters base font size
1fr
1 fraction of the remaining width this is grid-specific
50vw
50% of the viewport width
50vh
50% of the viewport height
The Objective
We like that Apple design where the whole screen is just a single slide and then when you scroll down you see another slide.
The Client
Okay, let's write a bunch of javascript to make that work
Okay, that's nice, but now I want the sections to have backgrounds, but the background should move separately from the foreground, and also put a gradient in there.
kthxbye!
The Client
Parallax!? We need javascript for that!
Jeff
WE HAD THIS
main { scroll-snap-type: y proximity; }
section {
ㅤmin-height: 100vh;
ㅤdisplay: flex; align-items:center; justify-content:center;
ㅤscroll-snap-align: start;
ㅤalign-items:center;
}
We need to build a brand new website. It's gonna have a topnav and then we have to have a side rail as well because we have a lot of content, and obviously a footer.
The Client
A whole site layout? We're gonna need a framework for that!
Thanks for the website layout! Okay, now we have to have a page with a bunch of blog teasers. We're gonna show an image and the headline and some tags, probably some other stuff too, and we don't know how many there's gonna be.
Oh, and obviously it has to be responsive for all screensizes.
The Client
Let's see which frontend framework will work with this.