Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
We don’t allow questions seeking recommendations for books, tools, software libraries, and more. You can edit the question so it can be answered with facts and citations.
Closed 3 years ago.
Improve this question
I'm working on my homework which is creating a simple web page with html, css and javascript. i was practicing on animating things with css, which I've found something cool on this link which it's making something move behind the image.
Here's the thing it's moving behind Team Logo
Now I've tried to use the source page to find out how they managed to animate it, but still got no luck to understand it Since I'm still learning. is there any example base on what I've explained?
I did it based on this answer. That's why I flagged your question as duplicate. It was cool and I couldn't resist doing it.
.hi {
width: 84px;
height: 84px;
background-image: url("https://thunderpick.com/assets/img/bolt/bolt.png");
position: relative;
border: solid 1px black;
animation: playv 1s steps(21) infinite, playh 0.0476s steps(3) infinite;
}
#keyframes playv {
0% {
background-position-y: 0px;
}
100% {
background-position-y: -1764px;
}
}
#keyframes playh {
0% {
background-position-x: 0px;
}
100% {
background-position-x: -252px;
}
}
<div style="background-color: black; width: 86px">
<div class='hi'>
</div>
</div>
Related
Closed. This question needs details or clarity. It is not currently accepting answers.
Want to improve this question? Add details and clarify the problem by editing this post.
Closed 3 years ago.
Improve this question
How do I apply 2 different CSS transforms to a single HTML element with different transform-origin for each?
You would need to work out the matrix value for each and then add them together using matrix mathematics. Their are some online calculators that can help with this
http://angrytools.com/css-generator/transform/
Set two DOM's of the same size, Set transform-origin for each individually
div{
height: 300px;
width: 300px;
}
.origin1 {
background-color: orange; /*Set to transparent*/
transform-origin: 0 0;
transform: scale(0.5, 0.5);
}
.origin2 {
background-color: blue;
transform-origin: 300px 300px;
transform: rotate(45deg)
}
<div class="origin1">
<div class="origin2"></div>
</div>
Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
We don’t allow questions seeking recommendations for books, tools, software libraries, and more. You can edit the question so it can be answered with facts and citations.
Closed 5 years ago.
Improve this question
I've been looking online for this kind of effect for long time without having success.
It looks like there is a js script that changes dynamically the css -webkit-transform: rotateY(deg) property.
Is there anything online that does the same thing?
I hope somebody can share a similar script thanks.
If there is enough space it shows the boxes with no rotation:
If there isn't enough space the script changes the rotation and get them closer to each other:
Your example looks like a y-rotation. Heres a basic snippet of it.
body {
display: flex;
}
div {
width: 150px;
height: 150px;
background: url('https://picsum.photos/200?random');
transition-duration: .35s;
box-shadow: -3px 3px 3px #000;
}
div:hover {
transform: rotateY(70deg);
transition-duration: .35s;
}
<div></div>
<div></div>
<div></div>
If you're looking for a library that can rotate or animate HTML Elements you can use animate.css. It's easy to use !!
Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
We don’t allow questions seeking recommendations for books, tools, software libraries, and more. You can edit the question so it can be answered with facts and citations.
Closed 7 years ago.
Improve this question
Hello Everyone!
I am designing a website for myself and I am making this sick front page but I need to know how to make it work.
From this when it's normal:
http://i.stack.imgur.com/QM0c0.png (Copy and paste in a different browser, I cannot post direct images)
And this would be how it'd look when you hover over it, the background would fade black and the image would pop out with a bigger size:
http://i.stack.imgur.com/dsvmu.png
Anyone knows how to do this?
Kind Regards!
You will need to make 2 divs
'Div1 Small Button' and
'Div2 Big Button'
Then you will need to make them showing and hiding with jQuery.
And make it like: if hover that button then show Div2 Big Button else hide.
This is how you do it with pure CSS. Best way is to use the :hover property.
HTML:
<img src="http://i.stack.imgur.com/dsvmu.png"/>
CSS:
img{
height:200px;
width:200px;
}
img:hover{
width:400px; /*OR transform: scale(1.5)*/
box-shadow: 10px 10px 5px #888888;
}
Fiddle here. Hover over the image to see the effect.
Also if you want the background to be colored as in your image then wrap the image inside a div. And use the following css:
<div><img src="http://i.stack.imgur.com/dsvmu.png"/></div>
CSS:
div {
pointer-events: none;
}
img {
pointer-events: auto;
}
div:hover {
background: rgba(0,0,0,0.3);
}
img{
height:200px;
width:200px;
}
img:hover{
width:400px; /*OR transform: scale(1.5)*/
box-shadow: 10px 10px 5px #888888;
}
Upadated fiddle.
I will suggest to use transform css property to resize the same image when user hover on it.
.banner img:hover {
transform: scale(1.25);
}
Closed. This question needs details or clarity. It is not currently accepting answers.
Want to improve this question? Add details and clarify the problem by editing this post.
Closed 8 years ago.
Improve this question
So i came accross the following template but due to the fact they have base64 encrypted their javascript / page elements for god only knows what reason it makes seeing the source code very difficult.
http://yootheme.com/demo/themes/joomla/2010/planet/index.php?option=com_content&view=article&id=44&Itemid=53&preset=default
But on that page the header bar with the class "header-bg" seems to have the background-position constantly changing most likely via the use of javascript and i like the design and effect of the colors so i am curious if someone can help me or fiddle to me a demo of how they are doing this.
I love the way the border effect is constantly rotating around in different variations of colors like that. (Not sure if anyone else finds that beautiful)
They use a background image, and they animate background-position using JS.
Here I use CSS animations instead:
#keyframes bg {
from {
background-position: 0 0;
}
to {
background-position: 1500px 0;
}
}
.header-bg {
border-radius: 15px; /* outerRadius */
padding: 3px; /* separation */
animation: bg 10s infinite linear;
background: url("data:image/jpeg;base64,/9j/4AAQSkZJRgABAQEASABIAAD/2wBDAAYEBAQFBAYFBQYJBgUGCQsIBgYICwwKCgsKCgwQDAwMDAwMEAwODxAPDgwTExQUExMcGxsbHCAgICAgICAgICD/2wBDAQcHBw0MDRgQEBgaFREVGiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICD/wAARCAEsBdwDAREAAhEBAxEB/8QAGAABAQEBAQAAAAAAAAAAAAAAAgABAwX/xAAVEAEBAAAAAAAAAAAAAAAAAAAAAf/EABcBAQEBAQAAAAAAAAAAAAAAAAABAgf/xAAVEQEBAAAAAAAAAAAAAAAAAAAAAf/aAAwDAQACEQMRAD8A811pyNAgQIECBsRkoyhxmoUZZOMslGUOMMlEQoxWSjKHGWTjCFGUKM1k4zWSjKHGUKMMlGUOM1koyycZQoxUOMslGWSjKHGUKM1k4whRlk4zWSjNQmRAgQIECBAgQIECAUFQYioGIrAYisBVBiKygxFVBiKyoqARVUGIMoqQZUVgMFVQYgxFYDEEKxFQqBAgQIECBAgQIECBAgbBlKNVEDRGqNUaqNBqolGiJRqhCKA1UbFRA2KjQaqNUQEqIRqiUaI1RoIECBAgQIECBAgQDWgWoo1poaq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ZZKMoUZZOMoUYqFGWTjKHGWSjCFGayUZrJxlDjKFGGSiIcYrJRlk4yhRmocYZKMoUZZOMoUZrJxlCjDJxlCjLJMiBAgQIECBAgQIEAgqgxFQMRUAorASDBWVBiKqDEGVGkAiqoMQZRUgyoMFVFYgxBiKwGIIViKhUCBAgQIECBAgQIECBAoI1UbFRA2A1Uao1UQEqJRoiUaBKiBqo2KiBsVGg1USjQJUQjVEo0RqjQQIECBAgQIECBAwGVoFqKNaaGqrGlBqKxVGtNDWlGqo1pRVRraiqjWlZWo0NVRrSiqjWlFpoa0o1Yo1pRrSiqsaaBpRrSsqqLajVUa00NVWNKNaUaqjWmhaUVUa0qFQIECBAgQIECBAgf/9k=") repeat scroll 0px 0px transparent;
}
.header-inner {
background: #fff;
border-radius: 12px; /* outerRadius - separation */
padding: 5px;
}
<div class="header-bg">
<div class="header-inner">Foo bar</div>
</div>
Also note that a gradient could be used instead of that image.
Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
Questions asking us to recommend or find a tool, library or favorite off-site resource are off-topic for Stack Overflow as they tend to attract opinionated answers and spam. Instead, describe the problem and what has been done so far to solve it.
Closed 9 years ago.
Improve this question
I am trying to create a Single-Page Scrollable website for a Local Plumbing Company. I had a thought in mind which requires an effect like the one at :
http://sidigital.co/
Can anyone suggest me any JS/Jquery Plugin for this "Water flowing through pipe" Concept?
Well this is mostly achieved using CSS3 more than a JavaScript effect. You could possible write a script that combines firing specific CSS events with a scrolled function, like the parallax effect and the effect as seen on this fiddle.
The CSS Code cuz I am not able to post the link as is:
CSS
#progressbar {
background-color: black;
border-radius: 8px;
padding: 3px;
width: 400px;
}
#progressbar div {
background-color: #0063C6;
width: 50%;
height: 10px;
border-radius: 5px;
animation:loadbar 2s;
-webkit-animation:loadbar 2s;
}
#keyframes loadbar {
0% {
width: 0%;
}
100% {
width: 50%;
}
}
#-webkit-keyframes loadbar {
0% {
width: 0%;
}
100% {
width: 50%;
}
}
HTML
<div id="progressbar">
<div></div>