AgerNic.com
WEB DEVELOPER SITE, HTML, CSS, PHP, SQL

CSS Border Style

Css border is a border around the content.
In CSS Style border we have three properties of a border you can change:
The border-color: specifies the color of a border.
The border-style: specifies whether a border should be solid, dashed line, double line, or one of the other possible values.
The border-width: specifies the width of a border.
The CSS edges will be staged with the border-style attribute helper with the following values:
- none
- solid
- dotted
- dashed
- double
- groove
- ridge
- inset
- outset
The border-style property can have from one to four values (for the top border, right border, bottom border, and the left border).

CSS - Border Width

The thickness boder in CSS is determined by the width-border attribute. This attribute will not work unless the border style attribute is specified in advance. We will use pixel measurement units or we can put the thin, medium or thick values.


Example:

div_example {
  border-style: solid;
  border-width: 5px;
}

.div_example-two {
  border-style: solid;
  border-width: medium;
}

.div_example-three {
  border-style: solid;
  border-width: 2px 10px 4px 20px;
}

CSS Border Color

The color of the borders will be specified by the border-color attribute in the hexadecimal system, RGB, or simply by naming the colors. Note that it can be established that the border is transparent when needed.
The color can be set by:
name - specify a color name, like "red"
Hex - specify a hex value, like "#ff0000"
RGB - specify a RGB value, like "rgb(255,0,0)"
transparent Example:

div_example {
  border-style: solid;
  border-color: red;
}

div_example-two {
  border-style: solid;
  border-color: green;
}

div_example-three {
  border-style: solid;
  border-color: red green blue yellow;
}

CSS Border - Individual Sides

In CSS, there are properties for specifying each of the borders as: top, right, bottom, and left and it is possible to specify a different border for each side
Example:

div_example {
border-top-style: dashed;
border-right-style: dotted;
border-bottom-style: solid;
border-left-style: double;
}


CSS Border Style, CSS - Border Width, CSS Border Color, CSS Border - Individual Sides
CSS Border Style Width and Color - css tutorial

Online Editor
ONLINE EDITOR

news templates


COLOR PICKER

news templates
This tool makes it easy to create, adjust, and experiment with custom colors for the web.


HTML Templates
news templates
Magnews2 is a modern and creative free magazine and news website template that will help you kick off your online project in style.


CSS HTML Layout
news templates
Find here examples of creative and unique website layouts.


Free CSS HTML Menu
news templates
Find here examples of creative and unique website CSS HTML menu.


CSS Scrollbar Horizontal
CSS Scrollbar in Div
CSS Scrollbar Firefox
CSS Style Scrollbar
CSS Style Text
CSS background color
CSS Div Id Class
CSS Text Wrap
CSS text-align
CSS Text Decoration
CSS Text Shadow
CSS Text Color
CSS Text Bold
CSS Text Size
CSS background image full
CSS background opacity
CSS border radius
CSS rounded corners
CSS font color
CSS Class & ID
CSS align image center
CSS align content
CSS link color
CSS Text Style
CSS Text Font Size
CSS max width &height
CSS width and height
CSS Margin
CSS Padding
CSS Border Style
CSS background
CSS in HTML
Basic Syntax of CSS
CSS Introduction
Online Editor
ONLINE EDITOR

news templates


COLOR PICKER

news templates
This tool makes it easy to create, adjust, and experiment with custom colors for the web.


HTML Templates
news templates
Magnews2 is a modern and creative free magazine and news website template that will help you kick off your online project in style.


CSS HTML Layout
news templates
Find here examples of creative and unique website layouts.


Free CSS HTML Menu
news templates
Find here examples of creative and unique website CSS HTML menu.


Upload Image, display, edit and delete i...
Login Form with Image background...
How to Create an Image with Transparent ...
Portfolio Gallery Website with filtering...
Simple pagination script PHP MySQLi...
Center Image in div...
Image Hover Overlay Fade...
Sticky image / element / div on scroll...
Responsive images...
Create rounded image in HTML CSS...
Add border around image...
Position Text Over an Image HTML CSS res...
Create a Slideshow Images Gallery...
Create a Sticky Sidebar...
Search bar using CSS HTML...
Shrink Navigation Menu on Scroll...
How to Create Accordion HTML Templates...
Dropdown menu in the navigation bar...
Responsive Top Navigation Bar with mobil...
Split horizontal navigation bar...