Category Archives: Article

PHPHOST BLOG

Web Hosting Related Articles You May Need

My Slides from InControl 2012: What We Don’t Know

I know it’s weird to go through slides of a presentation outside of the context of a real talk (and pales in comparison to the experience of being there) but nonetheless, there may be bits of goodness you can extract from them.

[Slides are embedded, come to site to view them or view on SpeakerDeck]

These are my slides from InControl 2012 where I did a talk I called “What We Don’t Know” sort of based on this post

My Slides from InControl 2012: What We Don’t Know is a post from CSS-Tricks

Continue reading

Posted in Article, Syndicated | Leave a comment

Things It Might Be Fun/Useful to Try the Universal (*) Selector On

What CSS properties might it make sense to apply to every single element on the page? We’ll take a look at some that may (or may not) be a good idea.

Things It Might Be Fun/Useful to Try the Universal (*) Selector On is a post from CSS-Tricks

Continue reading

Posted in Article, Syndicated | Leave a comment

TL;DR on Vendor Prefix Drama

Quick overview of the hot drama regarding vendor prefixes.

TL;DR on Vendor Prefix Drama is a post from CSS-Tricks

Continue reading

Posted in Article, Syndicated | Leave a comment

Musings on Preprocessing

I’ve been using SASS for pretty much everything I do recently. Here’s some musings on the journey. From hold-ups, to trip-ups, to turn-offs. From apps and teams to workflows and syntax.

You Gotta Work Locally

The biggest contributor to me getting on the bandwagon was giving up my going-commando live FTP editing ways. Yeah, Coda is awesome, but it’s bad habit forming. It makes it way too easy to work live instead of local1.

Working local is full …

Musings on Preprocessing is a post from CSS-Tricks

Continue reading

Posted in Article, Syndicated | Leave a comment

Speech Bubble Arrows that Inherit Parent Color

Interesting question:

css3 speech bubble question: for the “triangle”‘s border color, how can I set it to whatever its parent div’s bgcolor is automagically?

— Jin Yang (@jzy) February 1, 2012

By “css3 speech bubble”, Jin means using a pseudo element on a container to add a little pointer arrow (triangle). Not really CSS3, but that’s pedantic.

Let’s say that pink color isn’t practical to set in an external CSS file. Perhaps is a user setting, or perhaps …

Speech Bubble Arrows that Inherit Parent Color is a post from CSS-Tricks

Continue reading

Posted in Article, Syndicated | Leave a comment

New Poll: In The Next 10 Years, Will We See CSS Competitor?

What do you think folks? Is a new language going to come along in the next ten years that deals with layout / style / design and unseat CSS? Or at least give it a run for its money?

You should vote not based on if there will be any attempt at it, which there certainly will be and already has. But instead if you think one of those attempts will actually make it into native support by a browser …

New Poll: In The Next 10 Years, Will We See CSS Competitor? is a post from CSS-Tricks

Continue reading

Posted in Article, Poll, Syndicated | Leave a comment

Star Ratings With Very Little CSS

Star ratings are one of those classic UX patterns that everyone has tinkered with at one time or another. I had an idea get the UX part of it done with very little code and no JavaScript.

The markup uses the unicode entity for a star (☆) right in it. If you have a UTF-8 charset that should be no big deal. Alternatively you could use ☆ (Calculator for that kind of thing). You could use as many stars …

Star Ratings With Very Little CSS is a post from CSS-Tricks

Continue reading

Posted in Article, Syndicated | Leave a comment

Poll Results: Internet Connection Speed

In this latest poll, I asked people to test their own internet connection speed then vote in the poll based on their result. The speed choices ranged from (what I would consider) blazingly fast, to mediocre, to nearly unusably slow. I would have guessed a bell curve, with most people having mediocre speeds and just a few on the edges of extreme fast/slow. We didn’t get that at all.

The results show a pretty even distribution across all the …

Poll Results: Internet Connection Speed is a post from CSS-Tricks

Continue reading

Posted in Article, Poll, Syndicated | Leave a comment

Animate to an Inline Style

You already know that inline styles are “bad practice.” Inline styles aren’t reusable like CSS in separate files is, and thus, inefficient bloat. Unless of course, when it isn’t. There are some instances where inline styles make perfect sense. Perhaps you have an application where user’s pick their favorite color, and then you set the background of the body to that. Using an inline style in that case is actually more efficient than external CSS, since it’s specific to one …

Animate to an Inline Style is a post from CSS-Tricks

Continue reading

Posted in Article, Syndicated | Leave a comment

Custom Fonts in Emails

A reader writes in:

Would it be possible to draw an entire typeface in CSS to be sent in emails? Our company needs to send out emails to about 20k people to introduce a new brand that we are launching. The emails will be in HTML/CSS. My CEO is very specific about the type of aesthetic he wants to achieve, and this includes using a typeface that is not native to either Mac or Windows computers. We do not want …

Custom Fonts in Emails is a post from CSS-Tricks

Continue reading

Posted in Article, Syndicated | Leave a comment