HOME | PHP Tutorial | CSS
facebook icon
AgerNic.com
WEB DEVELOPER SITE, HTML, CSS, PHP
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

2704. CSS Layers - CSS tutorial
EchoEcho.Com : The complete CSS tutorial
http://www.echoecho.com/csslayers.htm

2806. CSS Padding, top, bottom, left, right, css tutorial
CSS Padding, top, bottom, left, right css tutorial
http://www.agernic.com/css-tutorial/css-padding-top-bottom-left-right.html

3178. CSS code, Tags, Example, CSS, Editor, Online Courses, Training
Online CSS Tutorial pdf, what is CSS, Online Courses, Classes, Training, Tutorials for Beginners - agernic.com is a free interactive Code, Tags, Example, CSS, Editor, Online Courses, Training for beginners
https://www.agernic.com/css-tutorial.html

810. CSS syntax - CSS tutorials - w3resource

https://www.w3resource.com/css/basics/CSS-syntax.php

2591. CSS Introduction Tutorial, css tutorial
CSS Introduction Tutorial css tutorial
http://www.agernic.com/css-tutorial/css-introduction-tutorial.html

2590. Android tutorial for beginners - Learn Android Programming and how to develop android mobile phone and ipad applications.
Online CSS Tutorial pdf, what is CSS, Online Courses, Classes, Training, Tutorials for Beginners - agernic.com is a free interactive Code, Tags, Example, CSS, Editor, Online Courses, Training for beginners
http://www.agernic.com/android-tutorial.html

Your add here
How to get PHP errors to display?
How to prevent sql injection in php mysqli
How do I get PHP errors to display - PHP error_reporting()
mysql_query(): The mysql extension is deprecated and will be removed i
Function eregi_replace() is deprecated in php - How to fix
PHP delete an element from an array
Uncaught Error: Call to undefined function MYSQL_NUM_ROWS() in
Deprecated: mysql_connect() mysql extension is deprecated and will be
mysqli_fetch_array() expects parameter 1 to be mysqli_result boolean g
SQL IN Operator - example
SQL BETWEEN Operator
SQL like syntax and example
SQL WHERE AND & OR multiple conditions
SQL create table primary key autoincrement
PHP mysqli_connect () Function
SQL COUNT(), AVG() and SUM() Functions
Display data from SQL database with MySQLi into php - html table
SQL CREATE DATABASE - example
SQL mysql order by columns, by date, by asc, by desc, random with PHP
PHP mysqli_query() Function - mysqli query
SQL delete row - SQL delete table
SQL update - SQL update select
Insert into SQL - Insert into table SQL - Insert data in sql
Login in PHP - simple login script with PHP MYSQL