Data Structure
Networking
RDBMS
Operating System
Java
MS Excel
iOS
HTML
CSS
Android
Python
C Programming
C++
C#
MongoDB
MySQL
Javascript
PHP
- Selected Reading
- UPSC IAS Exams Notes
- Developer's Best Practices
- Questions and Answers
- Effective Resume Writing
- HR Interview Questions
- Computer Glossary
- Who is Who
Front End Scripts Articles - Page 12 of 60
81 Views
The width property is used to set the width of an image. This property can have a value in length or in %. While giving value in %, it applies it in respect of the box in which an image is available.ExampleYou can try to run the following code to set the width of an image:
222 Views
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; } Example showing border right color property
275 Views
To style images with CSS, you need to use properties such as height, width, - moz-opacity, etc. Let us see how to create a transparent image with - moz-opacity CSS property:The -moz-opacity property of an image is used to set the opacity of an image. 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:
4K+ Views
Use the text-indent property to indent the first line of a paragraph. Possible values are % or a number specifying indent space.ExampleYou can try to run the following code to indent the first line: This text will have first line indented by 2cm and this line will remain at its actual position this is done by CSS text-indent property.
105 Views
The text-align property is used to align the text of a document. Possible values are left, right, center, justify.ExampleYou can try to run the following code to implement text-align property: This will be right aligned. This will be center aligned. This will be left aligned.
148 Views
To decorate a text in CSS, use the text-decoration property. The following example demonstrates how to decorate a text. Possible values are none, underline, overline, line-through, blink. This will be underlined This will be striked through. This will have a over line. This text will have blinking effect


