JavaFX css themes

Guigarage provides 3 out-of-the-box styles. AquaFX, a native look & feel for Mac OSX AeroFX, that gives you the look of a Windows Forms app for Windows 7 Flatter, a flat-design gui theme Feel free to complete this list by answering the question.

Rainbow gradient on text in CSS

Here is how you can create basic rainbow linear gradient (without integration with text yet): Expand snippet Or alternatively, you can use one of the gradient generators (I prefer this one). And here is the text integration: Expand snippet Main parts here are background-clip and text-fill-color properties, but be ready, that not all browsers will … Read more

Reset/remove CSS styles for element only

The CSS3 keyword initial sets the CSS3 property to the initial value as defined in the spec. The initial keyword has broad browser support except for the IE and Opera Mini families. Since IE’s lack of support may cause issue here are some of the ways you can reset some CSS properties to their initial … Read more

Click through div to underlying elements

Yes, you CAN do this. Using pointer-events: none along with CSS conditional statements for IE11 (does not work in IE10 or below), you can get a cross browser compatible solution for this problem. Using AlphaImageLoader, you can even put transparent .PNG/.GIFs in the overlay div and have clicks flow through to elements underneath. CSS: IE11 … Read more

Delete white space between divs

You get whitespace there because you have whitespace inbetween the divs. Whitespace between inline elements is interpreted as a space. You have: Change for: However, this is a bad way to do what you want to do. You should float the elements if thats what you want to do.

Is there an opposite to display:none?

display: none doesn’t have a literal opposite like visibility:hidden does. The visibility property decides whether an element is visible or not. It therefore has two states (visible and hidden), which are opposite to each other. The display property, however, decides what layout rules an element will follow. There are several different kinds of rules for … Read more

Failed to decode downloaded font

In the css rule you have to add the extension of the file. This example with the deepest support possible: EDIT: “Failed to decode downloaded font” means the font is corrupt, or is incomplete (missing metrics, necessary tables, naming records, a million possible things). Sometimes this problem is caused by the font itself. Google font … Read more

Hata!: SQLSTATE[HY000] [1045] Access denied for user 'divattrend_liink'@'localhost' (using password: YES)