Front End Technology Articles

Page 564 of 652

Set the color of the outline with CSS

Ankith Reddy
Ankith Reddy
Updated on 04-Mar-2020 93 Views

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 More

CSS outline property

Samual Sam
Samual Sam
Updated on 04-Mar-2020 142 Views

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 More

Cursor property of CSS

George John
George John
Updated on 04-Mar-2020 90 Views

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 More

Set outline style as a dotted line with CSS

Samual Sam
Samual Sam
Updated on 04-Mar-2020 247 Views

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 More

CSS padding-left property

Samual Sam
Samual Sam
Updated on 04-Mar-2020 114 Views

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 More

Usage of CSS list-style property

Lakshmi Srinivas
Lakshmi Srinivas
Updated on 04-Mar-2020 78 Views

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 More

HTML5 Canvas layer disappears on mouse click in Fabric.js and Firefox stops responding when creating a canvas for the image?

karthikeya Boyini
karthikeya Boyini
Updated on 04-Mar-2020 525 Views

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 More

Phonegap + Windows Phone 8 : HTML5 viewport meta & scaling issue

karthikeya Boyini
karthikeya Boyini
Updated on 04-Mar-2020 154 Views

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 More

How can I alter the color of an HTML5 canvas element using jQuery?

Daniol Thomas
Daniol Thomas
Updated on 04-Mar-2020 325 Views

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 More

Prevent iPhone from zooming in web-app with HTML \\n

Samual Sam
Samual Sam
Updated on 04-Mar-2020 9K+ Views

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
Showing 5631–5640 of 6,517 articles
« Prev 1 562 563 564 565 566 652 Next »
Advertisements