Comments (3)
Came here to ask this. Why is the header set at height: 100%
? Took me nearly a minute to realise there was any content below the fold and even then that was only since I had scrollbars (which other platforms are starting to lack).
Even just setting the header to height: 75%
gives you a peek at the content below without sacrificing your desired look:
from principles.design.
Yeah, it's a work in progress so there's no real set reasons why stuff has been done this way. Still sort of experimenting with layout but more importantly what the content on the home page should be. I'll probably remove the 100% fixed height and just allude to what's below by actually showing it. 75% seems like it would work for now, will test it as on smaller screens it might overflow the title. Thanks!
from principles.design.
@benbrignell @michaeldfallen I prefer using viewport units to set the height for hero's or setting the height, min-height, and max height of various elements to create different layouts.
For example you could set a max-height: 85vh
to be sure you never push the below content below the fold. Similarly, for a more image centric hero then you could set the height: 100vh
.
Perhaps what would be beneficial for this exact example would be using viewport units to create fluid text on the hero. This prevents that odd jump in the text size when the `@media (min-width: 700px) media query is active/inactive.
Here's an example where I set the hero text to font-size: calc(112.5% + 8vw)
.
from principles.design.
Related Issues (20)
- Guide/Suggestion of open licenses
- Transport of London Design Themes and Principles page no longer exists
- Translation to other languages
- Add OG stuff HOT 1
- React design principles HOT 1
- Etsy design principles HOT 1
- Give each unique principle its own page HOT 1
- Create json file from examples/help wanted for twitter bot HOT 5
- Create list and grid view modes for /examples
- Calm Technology example isn't calm HOT 3
- Need a little padding for examples HOT 2
- yaml multiline issues HOT 6
- Home Footer - Unexpected value rendering with the Twitter image on homepage HOT 1
- It's like ten thousand spoons when all you need is a knife HOT 1
- js is being included on all pages
- Search is broken HOT 1
- Excerpt examples
- Add newsletter signup
- Examples page sort order HOT 1
- Improve build times
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from principles.design.