Increase the border width
To increase the border width just increment the pixel value. For e.g. to make a border 2 pixel wide
border: 2px solid #333333;
The higher the pixel value the wider the border. border: 5px solid #333333 will have five times wider border than border: 1px solid #333333.Change the border style
Following are the styles available for border.
- border:3px solid #b90000;
- border:3px double #b90000;
- border:3px inset #b90000;
- border:3px dotted #b90000;
- border:3px groove #b90000;
- border:3px outset #b90000;
- border:3px dashed #b90000;
- border:3px ridge #b90000;
Outlines
In addition to borders you can also have outlines. Here is an e.g. of outline.
outline:#b90000 dotted 3px;
Confused, do they look same. Here is another e.g. to show the difference.
border:3px solid #333; outline:#b90000 dotted 3px;
The inner gray line designates border, while the outer red line is the outline.
Nice tutorial! Good to see all these line types.
ReplyDelete"There is an answer of no borders but the problem is or are do not tell to group that there are responsibilities which need to give support of no tension of any order to fulfill.".
ReplyDelete