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
Front End Technology Articles
Page 564 of 652
Set the color of the outline with CSS
The outline-color property allows you to specify the color of the outline. Its value should either be a color name, a hex color, or an RGB value, as with the color and border-color properties.ExampleYou can try to run the following code to implement outline-color property − This text is having thin solid blue outline.
Read MoreCSS outline property
The outline property is a shorthand property that allows you to specify values for multiple properties such as color, style, width of outline. Example This text is having thin solid freen outline. This text is having thick dashed green outline.
Read MoreCursor property of CSS
The cursor property of CSS allows you to specify the type of cursor that should be displayed to the user.Example Move the mouse over the words and see the changes in cursor: Auto Crosshair Default
Read MoreSet outline style as a dotted line with CSS
To set the outline style as a dotted line, use the outline-style property with the value dotted − Example This text is having 7px dotted outline.
Read MoreCSS padding-left property
The padding-left specifies the left padding of an element. It sets the left padding of an element. This can take a value in terms of length of %. Example This is a paragraph with a specified left padding This is another paragraph with a specified left padding in percent
Read MoreUsage of CSS list-style property
The list-style serves as shorthand for the preceding properties. The list-style allows you to specify all the list properties into a single expression.Example Table Chair
Read MoreHTML5 Canvas layer disappears on mouse click in Fabric.js and Firefox stops responding when creating a canvas for the image?
If the HTML5 Canvas layer disappears on mouse click in Fabric.js and Firefox stops responding when creating a canvas to the image, then there is a way to drag and drop images from your computer to canvas using Fabric.This can be done by making image draggable property to true by this way −
Read MorePhonegap + Windows Phone 8 : HTML5 viewport meta & scaling issue
Whenever you face such issue, it would mean you have not written the CSS properly.Just add the following in CSS −* { zoom:1; -ms-content-zooming:none; }For some code, even the following works −@viewport { width:320px; } @-ms-viewport { width:320px; zoom-user:fixed; max-zoom:1; min-zoom:1; }
Read MoreHow can I alter the color of an HTML5 canvas element using jQuery?
To alter the color of an HTML5 canvas, use −document.getElementById("ID").style.background = red;You can also try the following −var ctx = canvas.getContext('2d'); ctx.fillStyle = "#FF0000"; ctx.fill();
Read MorePrevent iPhone from zooming in web-app with HTML \\n
Giving a meta tag attribute "user-scalable=no" will restrict the user from zooming elsewhere. Prevent zooming all together by adding this meta tag to your head tag. This tells the mobile browser to use the same width scale and will not allow the user to zoom in at all, hence also disables that annoying behavior. However, some might argue that this is not a very user-friendly way to handle the problem.The element, used along with one or more elements, creates a drop-down list of options for a web form. The element creates the list and each element is ...
Read More