﻿ oipapio

css - Transitions on the display: property

I'm currently designing a kind of CSS 'mega dropdown' menu - basically a normal CSS-only dropdown menu, but one that contains different types of content.At the moment, it appears that CSS3 Transitions don't apply to the 'display' property, i.e. you can't do any sort of transition from display: none to display: block (or any combination).Can anyone think of a way for the second-tier menu from the above example to 'fade in' when someone hovers over one of the top level menu items?I'm aware that you can use transitions on the visibility: property,...Read more

css - DIVs not Displaying as Block on Mobile

I am making a practice layout (http://commission.lillykauffman.com/itfts.php) and even though everything looks good on desktop, the top elements are not displaying as "block" in mobile. Since I have no specific code for mobile, it should be the same as on desktop, in theory.Feel free to look at my code - it's all on the same page - and let me know how I can go about fixing this. FYI I also did width:100% and that doesn't work, and also isn't preferable for my layout.Click here for screenshot...Read more

css3 - How can I transition height: 0; to height: auto; using CSS?

I am trying to make a <ul> slide down using CSS transitions.The <ul> starts off at height: 0;. On hover, the height is set to height:auto;. However, this is causing it to simply appear, not transition,If I do it from height: 40px; to height: auto;, then it will slide up to height: 0;, and then suddenly jump to the correct height.How else could I do this without using JavaScript?#child0 { height: 0; overflow: hidden; background-color: #dedede; -moz-transition: height 1s ease; -webkit-transition: height 1s ease; -o-transition: h...Read more

CSS: background image on background color

I have panel which I colored blue if this panel is being selected (clicked on it). Additionally, I add a small sign (.png image) to that panel, which indicates that the selected panel has been already selected before.So if the user sees for example 10 panels and 4 of them have this small sign, he knows that he has already clicked on those panels before. This work fine so far. The problem is now that I can't display the small sign and make the panel blue at the same time.I set the panel to blue with the css background: #6DB3F2; and the backgroun...Read more

html - How to make div background color transparent in CSS

I'm not using CSS3. So I can't use opacity or filter attributes. Without using these attributes how can I make the background-color transparent of a div? It should be kind of the text box example in this link. Here the text box background color is transparent. I want to make the same, but without using the above mentioned attributes....Read more

css3 - How to apply a CSS 3 blur filter to a background image

I have a JPEG file that I'm using as a background image for a search page, and I'm using CSS to set it because I'm working within Backbone.js contexts:background-image: url("whatever.jpg");I want to apply a CSS 3 blur filter only to the background, but I'm not sure how to style just that one element. If I try:-webkit-filter: blur(5px);-moz-filter: blur(5px);-o-filter: blur(5px);-ms-filter: blur(5px);filter: blur(5px);just underneath background-image in my CSS, it styles the whole page, rather than just the background. Is there a way to select j...Read more

html5 - Css computed color different from specified color

I have used the following color for css.a:link,a:active { color: #e67e22; text-decoration: none; padding-bottom: 1px; border-bottom: 1px solid #e67e22;}a:active,a:hover { color: #555; text-decoration: none; padding-bottom: 1px; border-bottom: 1px solid #e67e22;}This is the corresponding html <a href="#">@omnifood_berlin</a>But the color being displayed or computed is different as shown below.What can be a reason for this? How can I make it the color I specified?...Read more

css3 - How create solid rainbow border with CSS?

How to create the following rainbow effect using CSS?i.e. top rounded border with solid rainbow color stops (without inserting html).Colors are: #c4e17f. #f7fdca, #fad071, #f0766b, #db9dbe, #c49cdf, #6599e2, #61c2e4.What I have tried so far:.container { background: #596678; width: 100%; height: 300px; display: flex; justify-content: center; align-items: center;}.top-round-rainbow { width: 50%; height: 50%; background: white; border-radius: 4px; background-image: repeating-linear-gradient(to right, #c4e17f 50px, #f7fdca 50px, #fad07...Read more

css - tap to view image shows white background .

I have checked all the topics with answers and none apply, so here goes:This simple HTML img link, displays a larger image on a dark grey background just fine in FF and Opera, BUT, in SAFARI, when tapped on iPad or iPhone, the background is ALWAYS white. (iPhone IOS is up to date. iPad is v.2 and stuck at IOS9.)I have tried approximately 15-20 bits of CSS that might apply -- all to no effect. AND nowhere in my style sheets or HTML for the entire site is there ever the use of #fff or white!)<a href="abstractsnew/BonnyUpdate-1_lg.jpg" longDesc...Read more

css - Ag-Grid - Row with multiline text

I'm using Angular Grid (version 1.16.1) and I need to show a long text inside a table and I want that row height would be adjusted by the content, breaking line if necessary.I've tried:sizeColumnsToFit method, expecting that ag-grid could resize column by its content;setRowStyle method at gridOptions: I've added CSS classes to adjust roe height by the content (e.g: 'word-wrap':'break-word');minWidth and width: I've calculated the average column size but ag-grid didn't respect it;cellStyle at gridOptions: on the same way as "setRowStyle", but C...Read more