All posts tagged in: CSS

How to scale CSS background to desired dimensions

One can easily scale background in CSS to any dimension to fit its container. 100% CSS background is good looking and gives bump to your design. Here is how this can be done. #MyID { background-size: 70% 60%; /* 70% width and 60% height ...

How to generate unordered list without any bullets

By default unordered list have bullets. If you don’t need them, you can easily remove them by using following CSS code. ul { list-style-type: none; } If you need to remove indentation too, this can be easily done by following ...

How to disable resize property of textarea using css

Sometimes it seems very frustrating to keep textarea in resizable mode. You can disable this property very easily by simple CSS rule. To disable resizable in all textareas in a page, use textarea { resize: none; } To disable resizable ...