HTML5 and CSS3: Elements That Are Safe to Use - Application Development - News & Reviews - eWeek.com | eWeek

CSS: Background-Image OptionsThe

CSS: Background-Image OptionsThe
Written By
Darryl K. Taft
Darryl K. Taft
Feb 1, 2012
3 minute read
eWeek content and product recommendations are editorially independent. We may make money when you click on links to our partners. Learn More


CSS: Background-Image OptionsThe

CSS: Background-Image OptionsThe

background-image property sets the background image for an element. The background of an element is the total size of the element, including padding and border (but not the margin). By default, a background-image is placed at the top-left corner of an element, and repeated both vertically and horizontally.


CSS: Border-Radius

2

According to CSS3.info, the CSS3 border-radius property allows Web developers to easily use rounder corners in their design elements, without needing corner images or the use of multiple div tags, and is one of the most talked-about aspects of CSS3.


CSS: Font-Feature-Settings

3

The font-feature-settings CSS property permits control over kerning, ligatures, alternates, real small caps and stylistic sets. The CSS font-feature-settings property is the most specific of font-feature property settings. The CSS3 Fonts Module proposes many properties to access popular OpenType features.


CSS: Hyphens

4

The hyphens CSS property tells the browser how to go about splitting words to improve the layout of text when line-wrapping.


Advertisement

HTML: Input [Placeholder]

5

According to Web Designer Wall, One of the nice enhancements in HTML5 Web form is being able to add placeholder text to input fields. Placeholder attribute allows you to display text in a form input when it is empty and when it is not focused (it clears the field on focus).


CSS: Media Queries

6

From Mozilla Developer Network: CSS3 enhances support for media-dependent style sheets by letting style sheets be more precisely labeled. A media query consists of a media type and at least one expression that limits the style sheets’ scope by using media features, including width, height and color. Media queries let the presentation of content be tailored to a specific range of output devices without needing to change the content itself.


HTML:Microdata DOM API

7

The Sencha blog says the Microdata DOM API is very straightforward and needs only two attributes: itemscope and itemprop. The Microdata DOM API is for processing/aggregating the microdata on a given page.


CSS: Min/Max-Width/Height

8

The CSS standard specifies four properties that can be useful when working with CSS layouts: min-width, max-width, min-height and max-height.


CSS: Multicolumn

9

CSS3.info says: W3C offers a new way to arrange text -newspaper-wise in columns. Multicolumn layout is actually a module on its own. It allows a Web developer to let text be fitted into columns in two ways: by defining a width for each column, or by defining a number of columns. The first would be done by column-width, the latter by column-count. To create a space between the columns, you need to specify a width for column-gap.ART: Image with multiple columns displayed


Advertisement

CSS: Opacity

10

The CSS opacity property is part of the W3C CSS3 recommendation. The CSS3 property for transparency is opacity. Creating transparent images with CSS is made easier by the opacity property.


CSS: Position: Fixed

11

The CSS positioning properties allow developers to position an element. It can also place one element behind another, and specify what should happen when an element’s content is too big. An element with fixed position is positioned relative to the browser window. It will not move, even if the window is scrolled.


HTML: PostMessage

12

PostMessage is a method for safely enabling cross-origin communication. It allows for cross-window messaging.


CSS: Pseudo Elements

13

CSS pseudo-elements are used to add special effects to some selectors. The “first-line” pseudo-element is used to add a special style to the first line of a text. CSS introduces the concepts of pseudo-elements and pseudo-classes to permit formatting based on information that lies outside the document tree.


CSS: Text-Overflow

14

The CSS text-overflow property specifies what should happen when text overflows the containing element.


CSS: Text-Shadow

15

CSS3 has a property called text-shadow to add a shadow to each letter of some text.

eWeek Logo

eWeek has the latest technology news and analysis, buying guides, and product reviews for IT professionals and technology buyers. The site's focus is on innovative solutions and covering in-depth technical content. eWeek stays on the cutting edge of technology news and IT trends through interviews and expert analysis. Gain insight from top innovators and thought leaders in the fields of IT, business, enterprise software, startups, and more.

Property of TechnologyAdvice. © 2026 TechnologyAdvice. All Rights Reserved

Advertiser Disclosure: Some of the products that appear on this site are from companies from which TechnologyAdvice receives compensation. This compensation may impact how and where products appear on this site including, for example, the order in which they appear. TechnologyAdvice does not include all companies or all types of products available in the marketplace.