Data dodania Pytanie
2017-01-02 05:01 Why does flex-box work with a div, but not a table? »
The following simple snippet results in a single web page that takes up the available screen space with a header at the top, a footer at the bottom, a...
(4) odpowiedzi
2017-01-01 23:01 EJS conditional statement change CSS »
I have loop in EJS and I want to set css based on my data: <% dummies.forEach(function(dummy) { %> <div class="panel panel-???"> &l...
(2) odpowiedzi
2017-01-01 22:01 Trouble with Facebook in app browser, rest of the browsers working perfectly fine »
First a little context. I'm a designer from the Netherlands with a love for code. I can find my way pretty ok in html and css and a little bit in php ...
(0) odpowiedzi
2017-01-01 17:01 Alternate text colour for each line of paragraph »
I am trying to change the text colour on alternate lines of a paragraph. The problem is, the number of lines in a paragraph will depend on things like...
(1) odpowiedzi
2017-01-01 13:01 Gulp secondary assets »
I have Gulp compiling all my JS and CSS into combined files and outputting to /public/assets/js/application.js or /public/assets/js/application.css T...
(1) odpowiedzi
2017-01-01 00:01 JavaFX: Change CSS PseudoClass on Key Event »
I have a button which changes it`s design when it is clicked. (Per CSS) Easy. But I also want to enable the function that if you press ENTER it shoul...
(1) odpowiedzi
2016-12-31 16:12 Center one element along with multiple siblings »
I have a div with some number of spans in it, that may or may not be of equal width. I know I can use text-align: center to make all the content with...
(3) odpowiedzi
2016-12-31 12:12 CSS transition doesn't animate when immediately changing size via JavaScript »
When setting the height of an element to 0 in JavaScript and then immediately changing it to a specific value, the CSS transition for the element does...
(3) odpowiedzi
2016-12-31 10:12 how to refresh the particular div while click image »
I want to refresh div using image onclick. Here i have image,that image id's are 'sellhide',having the onemore div id's are 'sellChart'. Code: <di...
(1) odpowiedzi
2016-12-31 02:12 Anchor link not working on desktop but works on mobile »
I have a link on this page: http://www.appetiteforexcellence.com/young-chef/ within the text on the page (the word "years") which does not actually li...
(4) odpowiedzi
2016-12-30 15:12 Create a div with aspect ratio 1:1 knowing only its height in percentage »
I was wondering if you can help me with this. I have a div (in white) where I need to put two circular buttons (in green) on the borders. Everything s...
(4) odpowiedzi
2016-12-30 03:12 Move one element to the end of a list with flexbox »
How can I move "3" to the end of the list using CSS? See jsbin here ul { display: flex; list-style: none; margin: 0; padding: 0; } ...
(2) odpowiedzi
2016-12-30 02:12 display: inline-block does not make width as small as possible with wrapped contents »
I have a div that has inline-block and a max-width set on it, as well as some text content that may wrap inside. My problem is that the div always tak...
(4) odpowiedzi
2016-12-29 20:12 Why isn't z-index working? »
I am trying to understand how z-index works. In order to do that, I have created a simple example which consists of five divs. Each one is a child of ...
(5) odpowiedzi
2016-12-29 16:12 How to vertically align the list-index of a list with flexbox? »
I needed to create a list with a custom list-index which is vertically centered to the content of the list items. As I am using flex already I though...
(3) odpowiedzi
2016-12-29 10:12 Element with :first-letter can't be selected »
In Chrome (Version 55.0.2883.87 m) (win 8.1) text in element with :first-letter can't be selected (in full) with mouse selection. Does this have a wo...
(1) odpowiedzi
2016-12-29 03:12 Maximum possible size image and div expanding to fill the space »
I'm sure this has been asked before but I can't find an answer to the exact question. I want a very simple layout: ------------------- header ...
(8) odpowiedzi
2016-12-29 02:12 How to use css bootstrap list-group with affix to create a sticky menu in a column? »
I am trying to create a sticky menu using CSS Bootstrap affix and list-group menu. I manage to get most of it to work except for when the user scroll...
(3) odpowiedzi
2016-12-28 23:12 How do I edit a CSS variable using JS? »
I have these CSS variables to control the colors of my project so I can do theming. html { --main-background-image: url(../images/starsBackgroun...
(4) odpowiedzi
2016-12-28 19:12 CSS slow response time with Sinatra »
I have searched high and low and cannot seem to find an answer to my question. I am creating a webpage using Ruby and Sinatra and I have had some issu...
(1) odpowiedzi
2016-12-28 19:12 DataTables hide/show hidden column button CSS style »
I'm using <th class="none"></th> to hide the last column in datatable table. Datatable creates a button in the first column to show/hid...
(1) odpowiedzi
2016-12-28 17:12 Curved edges on Chrome not appearing with overflow »
I have set my list's border-radius to 6px which works fine in all browsers but in Chrome, the top-right and bottom-right curved edges are hidden when ...
(1) odpowiedzi
2016-12-28 14:12 Multiple buttons to one circle »
I want to create a circle with distances with my 6 buttons. In the image you can see the result of my try but it doesn't look like a circle. I circl...
(1) odpowiedzi
2016-12-28 12:12 It is possible to have 2 different font sizes in one input placeholder in css? »
Is it possible to have 2 different font sizes in one input placeholder in CSS? something like this design: In regular html you can make it with spa...
(2) odpowiedzi
2016-12-28 08:12 Blur css applied to the video background, but shows blurred too on the edges like a "Glow" »
I have used css to apply some blur effect to my background video. But it shows as too blurred on the edges..... Is there any solution to apply flatten...
(2) odpowiedzi
2016-12-27 21:12 Change style back and forth »
Code: <style> .demo {color: yellow; background-color: purple} </style> <p class="demo">my text</p> <button id="change">...
(4) odpowiedzi
2016-12-27 18:12 Wordpress Close theme menu after click »
I am using this Wordpress theme, called ichiban. I have made some custom menu items that links directly to sections on the same page. For these cases ...
(2) odpowiedzi
2016-12-27 16:12 Flex items not wrapping in a column direction container »
I'd like to use flex-direction:column for a specific layout. I usually use standard flex-direction:row, so I've got some problems using column. I don...
(5) odpowiedzi
2016-12-27 07:12 How to refresh a page inside another page? »
I have 2 pages and in the first page, I called another page (second page) via ajax. In the second page there is a form that send via ajax then reload ...
(3) odpowiedzi
2016-12-26 21:12 font-size vs line-height vs actual height »
So this question says that the font-size defines the height of a box so that all letters (with ascenders and descenders) can fit. But why has a span ...
(2) odpowiedzi
2016-12-26 10:12 CSS property "word-break: break-all" isn't working expectedly with specific characters in Chrome »
I'm using "word-break: break-all" to insert breaks between any characters. However, in Chrome, It's not working expectedly with specific characters (e...
(2) odpowiedzi
2016-12-26 08:12 How to call css stylesheets and js files into a custom WordPress theme »
I'm developing a custom WordPress theme from scratch and now I faced a problem with loading css and js files. I have searched everywhere to see how ca...
(2) odpowiedzi
2016-12-26 05:12 Javascript classList.add is not working »
I am having a problem with classList.add javascript function. I am trying to add "active" class onto elements and apply css style for those active cla...
(1) odpowiedzi
2016-12-26 03:12 Flex: Select the first and last item in each row within a wrapped flex »
I'll provide some context. In this project I need to present some hebrew words with their spanish translation beneath them. I need the hebrew first an...
(1) odpowiedzi
2016-12-26 02:12 Implement different layouts for a (part of a) web page »
I want to implement a coding playground. At the moment, I use flex-box to define the position of different panels. Here is a JSBin, and its html part:...
(1) odpowiedzi