5 replies [Last post]
Happs
Happs's picture
Offline
Enthusiast
Manchester, UK
Last seen: 2 years 31 weeks ago
Manchester, UK
Joined: 2005-10-30
Posts: 54
Points: 7

Hi,

I am wondering what the forum's thoughts are on CSS3 and it's inclusion of features such as animation. Surely animation is _not_ part of a site's layout. Style sheets are used to format the layout of Web pages, not create animation.

Correct me if I'm wrong.

Hugo
Hugo's picture
Offline
Moderator
London
Last seen: 29 weeks 1 day ago
London
Joined: 2004-06-06
Posts: 15650
Points: 2788

I wouldn't worry too much, in

I wouldn't worry too much, in a sense all is going to pot they will try and add more and more behaviour into CSS probably. We are entering a dev world where people want bells and whistles - and why not? - over good firm standards and best coding practises. CSS3, HTML5 both address things we have moaned about for an age but also have that slight feeling of pandering to the crowd that just want an easy in to frontend coding?.

By and large CSS3 is a good thing or rather that browsers have finally caught up and we are able to use more of the properties is a blessing, so I for one will overlook 'animation'.

Before you make your first post it is vital that you READ THE POSTING GUIDELINES!
----------------------------------------------------------------
Please post ALL your code - both CSS & HTML - in [code] tags
Please validate and ensure you have included a full Doctype before posting.
Why validate? Read Me

Senff
Senff's picture
Offline
Regular
Montreal, Canada
Last seen: 2 years 12 weeks ago
Montreal, Canada
Timezone: GMT-4
Joined: 2011-12-13
Posts: 16
Points: 19

Personally, I think that

Personally, I think that "layout" refers to anything and everything that deals with how data is displayed. That includes, size, position, color, font, but indeed also movement/animation.

Back end is responsible for making sure the correct data is being fed to the browser.
Front end is responsible for making sure this data is presented properly.

Just my personal opinion.

mS

Hugo
Hugo's picture
Offline
Moderator
London
Last seen: 29 weeks 1 day ago
London
Joined: 2004-06-06
Posts: 15650
Points: 2788

Yeah but historically and

Yeah but historically and otherwise frontend is split into presentational layer and behaviour layer, behaviours were always thought of as not belonging to the presentation layer.

Before you make your first post it is vital that you READ THE POSTING GUIDELINES!
----------------------------------------------------------------
Please post ALL your code - both CSS & HTML - in [code] tags
Please validate and ensure you have included a full Doctype before posting.
Why validate? Read Me

Tony
Tony's picture
Offline
Moderator
Brisbane
Last seen: 48 min 16 sec ago
Brisbane
Timezone: GMT+10
Joined: 2003-03-12
Posts: 5085
Points: 2666

There is definitely a blur

There is definitely a blur between the presentation and behaviour layers now. Looks like they are trying to get rid of JavaScript or just keep it around for AJAX type functionality.

Hugo
Hugo's picture
Offline
Moderator
London
Last seen: 29 weeks 1 day ago
London
Joined: 2004-06-06
Posts: 15650
Points: 2788

It feels like an upgrading

It feels like an upgrading of the status of javascript in a sense; some of the simpler things one might have done and required using a client side scripting language are simply available via an undetermined browser action , thinking of things like HTML5 form attrs 'required', 'placeholder', 'pattern matching' although this strays from the CSS3 start of this thread.

Before you make your first post it is vital that you READ THE POSTING GUIDELINES!
----------------------------------------------------------------
Please post ALL your code - both CSS & HTML - in [code] tags
Please validate and ensure you have included a full Doctype before posting.
Why validate? Read Me