Data dodania Pytanie
2017-03-06 07:03 Modify element :before CSS rules programmatically in React »
I have an element whose :before style has to be modified based on calculations. export class Content extends React.Component { render() { ...
(1) odpowiedzi
2017-03-05 21:03 How does flex-wrap work with align-self, align-items and align-content? »
align-self In the following code, align-self works with flex-wrap: nowrap. flex-container { display: flex; flex-wrap: nowrap; align-c...
(1) odpowiedzi
2017-03-05 20:03 @keyframes not working for slideshow »
Cannot seem to get my Image slider to work, I am intending to use this as a header for my page but the images just wont slide. I have tried prefixes f...
(1) odpowiedzi
2017-03-05 17:03 jquery keep hover state »
I have an hidden element which contains a list. What I want to achieve is, to keep the hover state while moving from the clicked div with the cursor t...
(2) odpowiedzi
2017-03-05 15:03 Does it make sense that every HTML element has an id and/or a class attribute specified? »
Is there a good practice advise/requirement that every HTML element has an id or/and class specified? Including elements that wouldn't be accessed fro...
(1) odpowiedzi
2017-03-05 09:03 Ripple effect - border radius issue »
I have made the following animation: Fiddle If you have a big retina display (on small mac retina it's also bugged) - see that it looks pretty good,...
(1) odpowiedzi
2017-03-05 04:03 How to display vertical text in column headers without text overflow and also without expanding the width of the other columns »
I want to build a table with vertical column headers as shown in the image here. But the text in the column header can be variable so when I have more...
(2) odpowiedzi
2017-03-04 22:03 cannot verticaly center <img> inside <a> tag »
I'm trying to verticaly center my images that work as links as well, I have created <span> tag and inside this <span> I have my <a> ...
(0) odpowiedzi
2017-03-04 14:03 How to use a for loop to move a rectangle position in a canvas »
Firstly, I'm new to canvas and I've been trying to wrap my head around this for 2 days so I'd really appreciate any help. My goal is to make the green...
(4) odpowiedzi
2017-03-04 14:03 Angular Square box layout »
I'm trying to achieve a square grid layout using css on ng-repeat items Basically I need a Big square following with 4 small squares this 4 small sqa...
(2) odpowiedzi
2017-03-04 12:03 Height of div adjusting to resolution »
I am wondering if it is possible to make div adjust to height of screen view. What I want to achieve, is to make the first div always adapt to resolut...
(4) odpowiedzi
2017-03-04 09:03 Force html5 video element to shrink to fit container in chrome »
I need to fit videos inside a container, shrink the video if required, I have managed to make it work on FireFox, but I have been unable to shrink the...
(1) odpowiedzi
2017-03-04 03:03 How to keep `textarea` expanded when focused on parent element? »
I created a textarea box that expands when clicked, and retracts when it's not focused. However, if the textbox is already in expanded form, I want i...
(3) odpowiedzi
2017-03-04 03:03 Why does the CSS Gradient start position cause Chrome to change syntax? »
I've started using CSS gradients and I've noticed when I state the starting positions as to bottom right, Chrome uses the syntax without the -webkit- ...
(0) odpowiedzi
2017-03-03 20:03 What is the simplest way to clear all pseudo classes on an element? »
I am writing a stylesheet to extend a base stylesheet whose CSS has many pseudo classes applied to certain elements. I would like my stylesheet to ov...
(2) odpowiedzi
2017-03-03 14:03 jQuery datatables row.add is not adding td attribute hidden »
I've got a $datatables and $datatables row.add() API working together so I can achieve what I want. Now, I've got an object e.data that will be added ...
(2) odpowiedzi
2017-03-03 12:03 How can I improve this UI Search Selection Dropdown Semantically »
I want to make it something where the user can move tags around and the user can add new tags in-between tags. A cursor would appear if the user clic...
(1) odpowiedzi
2017-03-03 11:03 Linking a CSS image URL in laravel »
I want to add a background-image with a laravel URL. I can do this by just including the web path itself but I would like to use Laravel URL. Here is...
(2) odpowiedzi
2017-03-03 10:03 How to select all elements between two elements? »
If I have this HTML, how can I select all elements between #one and #two with CSS? I can't use jQuery. <p id="one"></p> <p></p&g...
(3) odpowiedzi
2017-03-02 19:03 Change div background color when bootstrap image is slide »
I want to do something like this image. When page load and first image is selected then "online admission" div section background color (#034121) di...
(1) odpowiedzi
2017-03-02 10:03 Textarea in Fieldset leaves a bottom gap »
I'm trying to figure out why Chrome leaves a bottom gap when using a textarea within a fieldset tag. If you look at the following fiddle with Chrome ...
(6) odpowiedzi
2017-03-02 05:03 How to use `flex: grow` on floating content? »
I have a header with 2 rows of 2 Foundation columns of content, as below: <div class="wrapper"> <div class="header row"> <div cl...
(3) odpowiedzi
2017-03-01 19:03 Why does border-radius cause huge style changes on buttons in chrome? »
This is really really weird: Without anything in chrome buttons look like this: <button>Test</button> However when you throw in the ...
(1) odpowiedzi
2017-03-01 16:03 CSS If statement? »
I'm am editing a Shopify site for a client and I came across this code in the css file. .pass-foot a { font-family: "Myriad Pro", "Gill Sans", "Gi...
(3) odpowiedzi
2017-03-01 12:03 React Styled Components - How to access raw html »
I have a ref on a component I am converting over to a styled component in my app. The ref is used to access the offsetHeight and scrollHeight properti...
(2) odpowiedzi
2017-03-01 10:03 How to make css-animation of rotation around full circle »
I have the element which rotate sometimes by transform: rotate(). I want to smooth transition between states by using transition: transform. The probl...
(1) odpowiedzi
2017-03-01 06:03 Changing website to m. when on a mobile device »
Im pretty sure this question must have been asked before but I cant find anything. I would like to create 2 versions of my website one where the mobil...
(2) odpowiedzi
2017-02-28 15:02 How is background-size percentage calculated? »
I have a sprite that I am using and I wanted to reuse one of the images in the sprite but at half the size so I thought if I just used background-size...
(2) odpowiedzi
2017-02-28 14:02 Move a DIV vertically by -100% of its height »
I want to move a DIV vertically by -100% of its height. % values doesn't work. The height of the image is set to 100vh. So I know I can just do top:...
(4) odpowiedzi
2017-02-28 05:02 Draw arrow between two flex items »
I want the arrow to be inserted between two flex items as they are added(Please run the code). It must be added after the first flex item for every ad...
(3) odpowiedzi
2017-02-27 20:02 Clicking same element after browser load »
My website uses some arrow navigation (previous/next arrows). In Chrome browser on Macbook pro, clicking the same arrow after page load does not trig...
(0) odpowiedzi
2017-02-27 20:02 How do I make iframes responsive without using div? »
I learnt from this post (Making an iframe responsive) that make an iframe responsive by adding a container with a class around the iframe, for instanc...
(3) odpowiedzi
2017-02-27 17:02 apply different style to odd divs »
I'm working with owl-caroussel plugin, and I need to apply a border-right style to odd divs, when I apply this selector it just adds the border to all...
(3) odpowiedzi
2017-02-27 13:02 Align two items left and right when on one line, and center when on two lines »
Let's consider two items A and B within their container C. When width(C) > width(A)+width(B), I want the items to stay on the same line: A aligned ...
(1) odpowiedzi
2017-02-27 11:02 Swap list in ul And Active item position remain same »
I'm new to scripting. Can someone help me to swap li's in ul work Scenarios are : 1. when user click on anchor tag it should come middle means activ...
(1) odpowiedzi