New HTML and CSS Features in Safari 3.1 - MacRumors
Skip to Content

New HTML and CSS Features in Safari 3.1

The new version of Safari (3.1) that was released today incorporates the latest HTML and CSS capabilities found in Webkit. While we previously featured the changes, they are worth repeating now that 3.1 is out.

Click me in Safari 3.1

CSS Animation - transitions, and animations allowing you to do CSS-based animations and Transforms. (example above from Surfin' Safari)

HTML5 Media Support - New 'video' and 'audio' tags that allow you to embed video/audio content easily. Example video embedded here.

Downloadable Fonts - instead of having to rely on common fonts available to browsers, you can link to actual font files within your CSS. For example, this html page takes advantage of web fonts and will render differently depending on which version of Safari you are using (more examples and explanation):

201544 cssold 150 201524 css 150
Safari 3.0 on the left, 3.1 on the right.

Other features include native getElementsByClassName and client-side database storage.

Popular Stories

HomePod mini and Apple TV Sage

New Apple TV and HomePod Mini Are 'Nearly Ready' to Launch, New Siri Remote Also Rumored

Sunday May 31, 2026 8:47 am PDT by
New models of the Apple TV 4K and HomePod mini are "nearly ready to go," according to the latest word from Bloomberg's Mark Gurman. Subscribe to the MacRumors YouTube channel for more videos. Both devices have been ready "for months," but Apple is holding off on launching them until the more personalized version of Siri is available, he said. "I am told the hardware for the next Apple TV...
Apple Foldable Thumb

First 'Confirmed' iPhone Ultra Color Allegedly Revealed in Leaked Image

Monday June 1, 2026 4:39 am PDT by
Apple is expected to launch its first foldable iPhone later this year. Rumors suggest the "iPhone Ultra" will come in two color options, and a leaker shared an image today that allegedly shows one of them. Posted on Weibo by the Chinese leaker known as Ice Universe, the image purportedly offers a first glimpse of Apple's foldable in white. The device is believed to have entered early mass...
Meta Ray Ban Glasses

Apple Glasses Reportedly Launching in 'Late 2027' With These Features

Sunday May 31, 2026 9:21 am PDT by
Apple is now aiming to release its first smart glasses in "late 2027," according to the latest word from Bloomberg's Mark Gurman. Meta Ray-Bans He previously said that Apple planned to begin shipping the glasses by early 2027, but he said the product has faced development delays. The glasses will feature "oval-shaped cameras, unique colors, and multiple frame styles," according to Gurman....