Article Categories
- All Categories
-
Data Structure
-
Networking
-
RDBMS
-
Operating System
-
Java
-
MS Excel
-
iOS
-
HTML
-
CSS
-
Android
-
Python
-
C Programming
-
C++
-
C#
-
MongoDB
-
MySQL
-
Javascript
-
PHP
-
Economics & Finance
Articles by karthikeya Boyini
Page 97 of 143
Usage of border-style property in CSS
Use the border-style property to set the style of the border:Example . This is a border with none width. This is a solid border.
Read MoreUsage of border-right-color property in CSS
The border-right-color property changes the color of the right border.ExampleYou can try to run the following code to implement the border-right-color property: p.demo { border:3px solid; border-right-color:#FF0000; } India is a country.
Read MoreChange the style of top border with CSS
The border-top-style property changes the style of top border.ExampleYou can try to run the following property to change the style of the top border: Example showing top border
Read MoreUsage of CSS caption-side property
The caption-side property allows you to specify where the content of a element should be placed in relationship to the table.ExampleThis property can have one of the four values top, bottom, left or right. Let us seen an example to learn how to implement caption-side property: caption.top { caption-side:top } caption.bottom { caption-side:bottom } Countries (Top Caption) India UK US Australia Countries (Bottom caption) India UK US Australia
Read MoreChange the Color of Link when a Mouse Hovers
To change the color of a link when we bring a mouse pointer over that link, use the: hover property.ExampleYou can try to run the following code to change the link color: a:hover { color: #FFCC00 } My Link
Read MoreSet the opacity of an image with CSS
To set the opacity of an image, use the CSS -moz-opacity property. This property is used to create a transparent image in Mozilla. IE uses filter:alpha(opacity=x) to create transparent images.ExampleYou can try to run the following code to style an image and set opacity with CSS:
Read MoreUsage of border property with CSS
The border property is used to set the width of an image border. This property can have a value in length or in %. A width of zero pixels means no border.ExampleYou can try to run the following code to set the width of image border:
Read MoreSet the background color of an element with CSS
To set the background color of an element, use the background-color property.ExampleYou can try to run the following code to learn how to work with the background-color property: This text has a blue background color.
Read MoreHow to use style attribute to define style rules?
You can use style attribute of any HTML element to define style rules. These rules will be applied to that element only. Here is the generic syntax:The following is an example: This is inline CSS
Read MoreUsage of text-transform property in CSS
The text-transform property is used to capitalize text or convert text to uppercase or lowercase letters.ExamplePossible values are none, capitalize, uppercase, lowercase. This will be capitalized This will be in uppercase This will be in lowercase
Read More