css3

iPhone iOS7 3D select/drop down feature

荒凉一梦 提交于 2020-01-05 07:04:08
问题 I don't like the new iOS7 3D select box when it shows you the select options (image attached). Its fine on the iPad with a flat look. It makes the mobile view of the webpage look broken and confusing for the user. Its hard to move away from the box after, blends in with the background of the page etc... Is there anyway to override this horrible looking, unusable feature? default to the old? 回答1: select inputs will behave like that in iOS browser. You can not avoid it using a select box. What

jQuery slideToggle and CSS border-radius property show unusually in IE10

馋奶兔 提交于 2020-01-05 06:56:11
问题 I am using MVC4 and in my page I took 4 div and all div. I have JSFiddle URL to check my exactly problem. jsfiddle Please run this in only in IE10, because in below IE10 or any other browser it working fine. jQuery(document).ready(function () { jQuery(".HomeContent").hide(); jQuery(".HomeDivHeading").click(function () { jQuery(this).next(".HomeContent").slideToggle(250); }); }); In IE10 when I slide down any din it shows like this I want to resolve this problem when I slide down div it look

Disable Link Using CSS but Enable Title

怎甘沉沦 提交于 2020-01-05 06:50:54
问题 I want to enable link using CSS but still enable title. Here is my code: CSS and HTML Code : .disabledLink { pointer-events: none; opacity: 0.6; cursor: default; } <a href="www.google.com" class="disableLink" title="My Title" /> <span datahover="test">My Link</span> </a> Unfortunately, title is not appearing when hovering my mouse to the link. Is there a better way to enable title? 回答1: .disabled-link { pointer-events: none; } <span datahover="test" title="My Title"><a href="www.google.com"

Bootstrap 3 inputs read-only in desktop mode but not on small devices

自闭症网瘾萝莉.ら 提交于 2020-01-05 06:38:28
问题 I am having trouble with boostrap 3 causing deactivated/read-only inputs in desktop mode. Once you resize the browser window to a smaller size bootstrap activates the inputs to read-write. I am clueless why, of course they should be activated on all devices. Any help will be appreciated! I tried having the .form-group arround the .col-sm-x .col-md-x .col-lg-x divs and a few other tweaks, the inputs only enable once they are completely outside of the .col-sm-x .col-md-x .col-lg-x , which

How to add font-weight property inside a font definition for the fallback font?

可紊 提交于 2020-01-05 05:38:05
问题 In our project we use Fira Sans Bold for thickening text segments. As a fallback we would like to use Lucida Sans Unicode with font-weight set to bold . However, we run into a problem that we need to pre-set font-weight property for Lucida Sans Unicode . What are possible ways to do this? We tried @font-face. @font-face { font-family: 'Lucida Bold'; font-weight: bold; src: local('Lucida Sans Unicode'); } However, the problem is, while using Fira Sans Bold we rely only on the font-family and

When flexbox items wrap in column mode, container does not grow its width

走远了吗. 提交于 2020-01-05 05:29:07
问题 I am working on a nested flexbox layout which should work as follows: The outermost level ( ul#main ) is a horizontal list that must expand to the right when more items are added to it. If it grows too big, there should be a horizontal scroll bar. #main { display: flex; flex-direction: row; flex-wrap: nowrap; overflow-x: auto; /* ...and more... */ } Each item of this list ( ul#main > li ) has a header ( ul#main > li > h2 ) and an inner list ( ul#main > li > ul.tasks ). This inner list is

Flip Effect with front and back site

两盒软妹~` 提交于 2020-01-05 05:21:07
问题 I want to create a flip effect that fires on mouseover and flips back to the front panel on mouse out.. so there has to be a front and a back-side of the card that should flip: HTML: <div class="card"> <div class="front"> Front-Content </div> <div class="back"> Back-Content </div> </div> <div class="card"> <div class="front"> 2nd Front-Content </div> <div class="back"> 2nd Back-Content </div> </div> So as you can see I want multiple cards to flip to their back-sides on mouseover. I think the

Flip Effect with front and back site

随声附和 提交于 2020-01-05 05:20:46
问题 I want to create a flip effect that fires on mouseover and flips back to the front panel on mouse out.. so there has to be a front and a back-side of the card that should flip: HTML: <div class="card"> <div class="front"> Front-Content </div> <div class="back"> Back-Content </div> </div> <div class="card"> <div class="front"> 2nd Front-Content </div> <div class="back"> 2nd Back-Content </div> </div> So as you can see I want multiple cards to flip to their back-sides on mouseover. I think the

How to break out of 12 col grid with bootstrap 4 flexbox grid?

孤街醉人 提交于 2020-01-05 04:59:29
问题 When I heard bootstrap 4 was going to employ flexbox for a grid system I was really excited. I thought that this would deploy the fast and useful element sizing that flexbox is known for. However it seems that it just adds some (major) functionality to the current 12 col grid system. Does Bootstrap 4 make it any easier to relate column widths in a non 12 col layout? Like how flex boxes can be related to each other simply by specifying the horizontal space to divide using flex-item properties

css - div at incorrect position on Firefox

元气小坏坏 提交于 2020-01-05 04:30:53
问题 I'm making a card with css animations, and on Chrome/Safari it works great, but on Firefox one of the divs is getting out of its position. Open this fiddle on Chrome/Safari and on Firefox to see what is going on. Does anybody know a fix/workarround to this? 回答1: I managed to get Firefox to play nicer by adding .perspective { ... position: relative; } That seems to specify the object to which the left side is the absolutely positioned. It must differ by default between Webkit and Firefox.