/    Sign up×
Community /Pin to ProfileBookmark

Flexbox or Grid Layout for Portfolio?

Hey guys, it’s been a very long time since I’ve touched HTML/CSS but I’m moving back in that direction. I need to build an online portfolio, and was wondering which method is more usable in December 2016. For instance, would a grid layout even hold up across browsers? Should I rely on the old float and absolute positioning techniques from years ago? What say you?

Thanks~
ARNK

to post a comment
CSS

1 Comments(s)

Copy linkTweet thisAlerts:
@jedaisoulDec 09.2016 — Hi and welcome to the site. Cross-browse compatibility is now much less of a problem than it was back when IE6 was in widespread use. Also, the need to accommodate a much wider range of display devices means that designers cannot afford to be too precious about minor cross-browser discrepancies. So a simple "normalizing" fragment of code at the beginning of the CSS will often suffice. Such as:
<i>
</i>* {
margin: 0;
padding: 0;
border: none;
}
input,
select {
border: 1px solid grey;
}


Of greater significance is, as mentioned, the need to support a wide range of display devices. The days when a single fixed-width design would suffice are long gone. Every web page needs to adjust to be displayed on screens from 320px wide to 1920px (or larger). This is achieved with a "responsive" design using media queries and often (but not necessarily) fluid design techniques.
×

Success!

Help @ARNK spread the word by sharing this article on Twitter...

Tweet This
Sign in
Forgot password?
Sign in with TwitchSign in with GithubCreate Account
about: ({
version: 0.1.9 BETA 5.13,
whats_new: community page,
up_next: more Davinci•003 tasks,
coming_soon: events calendar,
social: @webDeveloperHQ
});

legal: ({
terms: of use,
privacy: policy
});
changelog: (
version: 0.1.9,
notes: added community page

version: 0.1.8,
notes: added Davinci•003

version: 0.1.7,
notes: upvote answers to bounties

version: 0.1.6,
notes: article editor refresh
)...
recent_tips: (
tipper: @AriseFacilitySolutions09,
tipped: article
amount: 1000 SATS,

tipper: @Yussuf4331,
tipped: article
amount: 1000 SATS,

tipper: @darkwebsites540,
tipped: article
amount: 10 SATS,
)...