Wednesday, December 18, 2013

CSS - simple border

I needed a simple border and I am sure I am going to need it again so I am putting it here. Feel free to use it and change it, it is very simple (just don't feel like typing it again when I need it again)
.simpleborder {
    border: 1px solid lightgray;
    border-radius: 20px;
    margin-top: 25px;
    margin-left:25px;
    width: 80%;
    height: auto;
    padding:10px;
    box-shadow: 3px 2px 2px rgba(50, 50, 50, 0.75);
}

A good site to test it is: here. Here is how it looks like:

The quick brown fox jumps over the lazy dog.

No comments: