How to set vertical height in CSS?

I need to give vertical height for the right element with full background. I tried by setting height:100%; max-height: 100% but the element takes only content height .full_container { height: 350px; border: 1px solid #dd...
more »

2017-09-18 08:09 (2) Answers

Mysterious space after navigation

I made this navigation bar using flexbox, but I want the right side buttons to be on the extreme right. Here's my code : HTML: <link href=',400' rel='st...
more »

2017-09-18 08:09 (2) Answers

Div's width set in vw, but doesn't work properly

I have a problem with CSS (or at least I think that the problem is in CSS). I set everything in vw, but it acts weirdly. In big resolution it looks normaly, but in small resolution it doesn't. You can see it on this GIF (it was too large to upload ...
more »

2017-09-17 19:09 (1) Answers

table layout adjustment for accordian

I am trying to display accordian in table layout. But, after expanding their formation is getting disturbed. Here I am trying to check the table layout for accordion here. <div ng-controller="AccordionDemoCtrl"> <label class="checkbox">...
more »

2017-09-17 18:09 (4) Answers

if and elif doesn't work in template django

if and elif doesn't work in my template django index.html <a style="{% if show.Ages == 19 %}background:#ff3636;{% elif show.Ages == 17 %}background:#fb9c92;{% elif show.Ages == 13 %}background:#ffb466;{% else %}background:#4aff68;{% endif %};bor...
more »

2017-09-17 14:09 (1) Answers

How to bind css animation duration to scroll

I want to make something like those website where you scroll down and some animation follows by your scrolling and if you scroll up it goes reverse. I saw some libraries like this but I want to see can it be done some more simple way? Thanks $...
more »

2017-09-17 13:09 (0) Answers

Customise bootstrap buttons

I want to have the bootstrap buttons bigger then btn-lg... heres my current code.. HTML when i add a new class to the anchor tags classes with padding it makes it look weird.. but this is what i want it to look like.. (This photo is before t...
more »

2017-09-17 11:09 (2) Answers

How to callback event load fontface?

I want set callback when font-face is load done in DART. For that, i use this code: void myCallback() => print('Hello!'); FontFace font = new FontFace(Name, FontFileName); document.fonts.add(font); document.fonts.ready.then(myCallback); // ERRO...
more »

2017-09-16 10:09 (0) Answers

If a div has this two classes, hide wrapper

I have a wrapper that shows an image and a star. I want to hide the wrapper if both image and star has a class named "no". It has to be both, if just only one of them has the "no" class it has to be shown. <div id="wrapper"> <a href="#" cla...
more »

2017-09-15 09:09 (4) Answers

Making an image scale down when window resize

Hi guys i have a background image set as a background and i want it so that when the user scales down the window it will resize with it: HTML: <div class="parallax"> </div> CSS: .parallax { background-image: url("../Images/back1...
more »

2017-09-14 23:09 (2) Answers

Vertically aligning text to a circle

I am trying to vertically align some text to a circle having a shape-outside property. I am looking for a pure css solution. See jsfiddle: .wrap { height: 220px; width: 400px; } .circly { background: red; ...
more »

2017-09-14 23:09 (4) Answers