Closed. This question needs debugging details. It is not currently accepting answers.
Edit the question to include desired behavior, a specific problem or error, and the shortest code necessary to reproduce the problem. This will help others answer the question.
Closed 8 years ago.
Improve this question
There's this really cool effect I'd like to recreate, however I don't understand how the developer is achieving it. I've looked at the source - but I still don't quite understand.
The site is: http://drewwilson.com and below will be a couple of screenshots of what is happening.
When I click on the ellipsis on the header, a little about element pops up and the actual site 'zooms' backwards, leaving whitespace around it's border and greys out.
I can't see any javascript or jQuery doing it, so i'm assuming it's css?! - Although I might have missed something totally - so any help is appreciated :)
Inactivated
Activated
I think the whole page is wrapped in a div which have a 100% height and 100% width. So you have a control over everything inside that element.
You can achieve that by using css3 transform: scale(value); and of course jQuery
see samples here
Related
Closed. This question needs debugging details. It is not currently accepting answers.
Edit the question to include desired behavior, a specific problem or error, and the shortest code necessary to reproduce the problem. This will help others answer the question.
Closed 2 years ago.
Improve this question
I'm trying to hide an object in a hole, after searching for a solution, I followed this example & successfully create a hole:
https://stemkoski.github.io/AR-Examples/hole-box.html
But when I placed an object inside, it's overlap the hole, instead of being covered behind the faces (image 3)
Image 2 is what I want to achieve but haven't found a way so far.
I tried with clipping & masking (postprocessing) as well without success.
It would be great if someone could give me a clue.
I found this, it's exactly what I'm looking for, but the source was removed.
Closed. This question needs debugging details. It is not currently accepting answers.
Edit the question to include desired behavior, a specific problem or error, and the shortest code necessary to reproduce the problem. This will help others answer the question.
Closed 6 years ago.
Improve this question
i'm trying to build a bootstrap design with nothing special but a few columns and some information. First of all, i'd like to know if my code is alright, because I can see that items are not going like column below column as it should be after seeing the page from the small devices. I'm actually feeling now pretty sad about this, because i'm so exhausted that I cannot fix it anymore. Trying, trying and trying, but no results. Maybe you can have a look at my code? (I'd like to add a snippet, but for proper results there is a full source which I added here
Another question, I need to setup the min-size where bootstrap starts wirking from 320px. Where could I do this?
Fiddle HERE!
I took a look at your code and it seems that your problem is mostly just a general misunderstanding of how bootstrap responsiveness works. I would suggest reading up on a bit more to get an idea of how it is used in practice. When you set all your columns to be the same size then you take away what makes bootstraps responsiveness useful. Try making it so as the screen gets smaller, the components get more columns such as
<div class="col-lg-6 col-md-9 col-sm-12">...</div>
This will take a good amount of experimentation for it to look perfect! :)
Closed. This question needs debugging details. It is not currently accepting answers.
Edit the question to include desired behavior, a specific problem or error, and the shortest code necessary to reproduce the problem. This will help others answer the question.
Closed 6 years ago.
Improve this question
My website is not mobile friendly. The problem is with the main banner and menu. The main banner is not coming properly in mobile devices. Remaining things are coming fine. Kindly give me the solution to this problem. Below is my site link.
http://www.unicomlearning.com/2016/NFT_Con/
People will get frustrated at you if you ask a question without giving specific prior results from what you've tried and the actual code you think might be the problem. That being said from what you said I can try to help you. So the most obvious thing for responsive design is using pixels for measurements is usually going to be a no go. If the header is the problem you should probably make sure all of your width is based in percentages instead of pixels. Also make sure your media queries actually work. Best of luck! Keep in mind for the future people are pretty wary of visiting strange websites and also nobody wants to help when you just give us your project and tell us you need it fixed! Best of luck however!
Closed. This question needs debugging details. It is not currently accepting answers.
Edit the question to include desired behavior, a specific problem or error, and the shortest code necessary to reproduce the problem. This will help others answer the question.
Closed 6 years ago.
Improve this question
I have an example of what I'm thinking of as I can't really describe it, I hope people won't mind me putting a direct link to a commercial website but anyway:
https://www.bladux.com/shared-hosting
Near the bottom theres a segment with 6 div elements that animate in similar ways when you hover over each one.
At first I suspected that onmouseenter the still background images were being replaced with GIFs but then I realised that onmouseleave was somehow "reversing" the animation from the point at which the animation had completed when onmouseleave occurred.
I'd love to know from a technical standpoint how someone goes about doing this, I don't need any specifics or examples. I just can't think of anything past GIFs.
The cleanest way to handle animations is with pure CSS, so that you don't bog down your Javascript code with styling logic unnecessarily. From my experience, if you can handle these things in CSS, that's usually the best solution.
Here's an example of how to implement the basic effect that you're trying to accomplish.
The key elements to notice here are the transforms and transitions. No JS necessary.
Closed. This question needs debugging details. It is not currently accepting answers.
Edit the question to include desired behavior, a specific problem or error, and the shortest code necessary to reproduce the problem. This will help others answer the question.
Closed 8 years ago.
Improve this question
I used mozila and I try to "inspect element" to see if my background image is there. The inspect element even doesn't show the css style mark up like background-image: blah blah; at all.
I am very sure that I have written the code correctly:
background-image: url ('social-icon/button.png');
Some discussion out there said that it may be caused of "javascript" and adviced to disable the javascript, but I don't know how to do that. Eventhough it is true that the problem is the javascript and it means that I can't use Javascript in my html file, it will be worse.
I am just confused?
EDITED :p
LOL, THE PROBLEM IS BECAUSE I HAVE A SPACE BETWEEN URL AND THE SOURCE. IT SHOULD BE LIKE
url{there is no space here}('social-icon/button.png');
It's so funny how we all can't see a little problem when our focus is to the another point of the question. :D :D :D
Is your css file correctly linked in the .html? I understand it as you have your img as a background-image in css?
<link rel="stylesheet" href="yourCss.css">
It's a long shot, but try with removing the image part,
background: url('social-icon/button.png');
try this (copy-paste this code)
background-image: url(../social-icon/button.png);
Tell the results!