Questions tagged [css3]

CSS3 is an abbreviation of Cascading Style Sheets level 3. CSS is a language for describing the visual presentation of documents described by a markup language. The markup language most commonly used in conjunction with CSS is HTML (Hyper Text Markup Language).

56 questions
23
votes
10 answers

What is new in HTML5/CSS3?

I've seen this site and this site, but that's a lot to digest. What are the main things about HTML5 that make it different/better than regular old (X)HTML/CSS?
Jason
  • 2,158
  • 21
  • 26
22
votes
8 answers

Should I split a large CSS media queries file into separate files for each screen size?

I am working on a responsive design website to deliver content for all screen sizes. I have media queries for 5 different "steps", and the CSS file is around 30 Kb. Would it be better to split this into separate files and make them similar to…
CamSpy
  • 1,629
  • 2
  • 17
  • 24
18
votes
8 answers

Technical website - Should I assume that my visitors will use a modern browser?

I am in the process of creating my own website, which will include a technical blog. I want to build my website using modern technologies such as HTML5 and CSS3. Since my website will be targetted at programmers and mostly tech-savvy users, should…
marco-fiset
  • 285
  • 1
  • 7
18
votes
3 answers

How to enable CSS3 features in Internet Explorer 6, 7 and 8?

While IE9 looks very promising, IE6, IE7 and IE8 will probably haunt us for many years to come, slowing the spread of CSS3 on the web. A number of projects based on HTC and JS add some CSS3 support to…
mawtex
  • 857
  • 1
  • 6
  • 14
17
votes
3 answers

If I have only WOFF and EOT, what browsers am I supporting with @font-face?

We're looking at buying a font which only allows its use on the web in the provided formats: WOFF and EOT. I'm not sure what browsers those work in and can't seem to find up to date information. What browsers can I suport with just those two? My…
erik
  • 171
  • 1
  • 1
  • 3
16
votes
9 answers

Should I use HTML5 and/or CSS3 to build my website?

The new HTML5/CSS3 (Web8!) stuff sounds cool! Should I start using it now or stick with css/xhtml wait until more browsers can use it?
Jason
  • 2,158
  • 21
  • 26
14
votes
4 answers

Can CSS be copyrighted?

I know CSS on a website is protected under the website's copyright since it is considered part of the overall design. I also know that images used in CSS are copyrightable. How about when CSS is used to create images? There is a CSS3 icon set that…
Emily
  • 390
  • 2
  • 7
12
votes
3 answers

Hiding and Showing Google Adsense blocks with Media Queries

Is this already acceptable in the Adsense ToS? (can't find any information on this specific case). If the user resizes the browser (css 3): @media screen and (max-width: 980px) { #skyscraper { display: none; } } The idea is to present an…
Andres SK
  • 281
  • 3
  • 8
8
votes
7 answers

Can anyone list some real examples of 'HTML5' being used in the wild?

I am using HTML5 in the same way everyone seems to be using it these days, meaning: HTML5 tags, Canvas / 3D / javascript and CSS3. I am struggling to find examples of sites that are using these technologies practically and that are not just a demo…
betamax
  • 203
  • 2
  • 8
7
votes
3 answers

When using a stacked font-family, what does the browser use when NONE of the specified fonts are present?

Simple HTML code example:

font family

Simple CSS code example: p { font-family: Arial, Helvettica, sans-serif; } Browser looks for Arial Arial is not present then it looks for Helvettica Helvettica is not present then it looks for…
Akash Preet
  • 249
  • 1
  • 7
7
votes
4 answers

Responsive Design: Which Framework Should I Use? CSS3 & HTML5

I've been looking for a suitable set of HTML5/CSS3 foundation files to start new projects on. I started off piecing together my own files, but I believe I might be better served in finding a solid and fairly compatible(with me) CSS3/HTML5 framework…
Jayhal
  • 126
  • 1
  • 6
6
votes
2 answers

CSS text-decoration:underline doesn't work on a:visited selector

I have this snippet:

Link to example site.

a:link{ color:green; text-decoration:none; } a:visited{ color:pink; text-decoration:underline; } a:hover{ color:yellow; …
Akash Preet
  • 249
  • 1
  • 7
4
votes
4 answers

CSS3 Validation: Is it worth it?

I'm currently building a project, and I'm writing the site using HTML5 and CSS3. I have validated the HTML and it passed first time (very pleased as it was my first time coding HTML5!). And then I went to validate the CSS. It failed validation. The…
mickburkejnr
  • 1,322
  • 11
  • 18
4
votes
1 answer

Responsive Websites

Everywhere I look (e.g. Web.dev), it tells you that you must use in the header of your HTML file, so websites scale on mobile phones. If you have designed your website in "mobile…
Chris Rogers
  • 457
  • 3
  • 15
3
votes
1 answer

Tips for developing a responsive website

I'm having problems trying to figure out a good workflow when designing a responsive website. I've tried a few approaches, nowadays what I'm doing is: Do all html and css work with the window maximized (about 1400px wide) Then I shrink it and…
1
2 3 4