Squigly Squigly's Brain Teasers

Question:

I'm hard all around but soft in the middle. What am I?

Answer:

A bed.