HOME | PHP Tutorial | CSS
facebook icon
AgerNic.com
WEB DEVELOPER SITE, HTML, CSS, PHP
PHP Tutorial

PHP forms
HTML Tutorial

CSS Tutorial

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

3182. CSS Border Style Width and Color, css tutorial
CSS Border Style Width and Color css tutorial
https://www.agernic.com/css-tutorial/css-border-style-width-and-color.html

16. CSS3 Tutorial - An Ultimate Guide for Beginners
CSS Tutorials for Beginners - Learn the fundamentals of the latest CSS3 style sheet language in simple and easy steps and create beautifully designed website.
https://www.tutorialrepublic.com/css-tutorial/

2701. CSS Colors - CSS tutorial
EchoEcho.Com : The complete CSS tutorial
http://www.echoecho.com/csscolors.htm

2593. Basic Syntax of CSS - How to Code CSS, css tutorial
Basic Syntax of CSS - How to Code CSS css tutorial
http://www.agernic.com/css-tutorial/syntax-of-css-how-to-code-css.html

2229. CSS Tutorial - Display and visible
display:none; hides the paragraph and will NOT keep the space reserved to this element in the course of the document. All other elements will occupy the space reserved to this element and will act as if the element didn
https://tutorialehtml.com/en/css-tutorial-display-and-visible/

808. Specified, computed, and actual values - CSS tutorials - w3resource

https://www.w3resource.com/css/assigning-property-values-cascading-inheritance/css-assigning-property-values-cascading-inheritance.php

Your add here
PHP str_repeat() function

PHP define() function

PHP ucwords() function

PHP ucfirst() function

PHP trim() function

PHP count() Function

PHP wordwrap() function

PHP strtolower() function

PHP htmlentities() function

PHP strstr() function

PHP strtoupper() function

PHP explode() function

PHP ltrim() function

PHP implode() function

PHP strrchr() Function

PHP isset() Function

HTML Image Align
PHP Syntax
HTML Image Link
CSS Margin, top, bottom, left, righ, auto
HTML Table
CSS Border Style Width and Color