HOME | DD

Published: 2013-11-05 19:40:34 +0000 UTC; Views: 4339; Favourites: 110; Downloads: 0
Redirect to original
Description
=Trisste asked me to make something similar as in the recent HQ journal with the thumbs-hover.Well, as CSS3 is not supported by journal-skins, animations couldn't be made.
However, I was able to mimick the rest and though, others might enjoy, too!
This is a code-fragment, for free use in any journal-skin or web-design.
Although I would enjoy being mentioned now and then^^
So, what to do to implement this?
Insert the following CSS into your journal-skin!
.image, .image a img{
width:200px!important;
height:200px!important;
border-radius:100px;
position:relative;
overflow:hidden;
display:inline-block;
cursor: pointer;
}
span.shadow{
padding:0;
}
.credit{
border-radius:100px;
width:190px;
height:190px;
position:absolute;
top:5px;left:5px;
opacity:0;
display:inline-block;
background-color:rgba(100,100,100,0.8);
background: linear-gradient(to bottom, rgba(236,178,156,0.5) 0%,rgba(118,35,2,1) 60%,rgba(190,109,77,1) 65%,rgba(236,178,156,0.5) 100%);
}
.credittext{
width:190px;
height:190px;
border-radius:100px;
display:table-cell;
vertical-align:middle;
text-align:center;
}
.image:hover .credit{
opacity:1;
}or from pastbin: pastebin.com/BXSEDQX9
Then use the following Code within journals:
This awsome Deviation was made by :devdediggefedde:
As you can see in the picture above, you have to replace "yourthumb" with the thumb.
If you just use a thumb (code or from media), the quality may be poor.
You can prevent that by making the thumb larger (e.g. hover over it in edit-mode to see the 4 little squares and drag it larger). It will still have the defined size inside the CSS...
Related content
Comments: 18
ZCore-Studio [2018-08-02 20:57:51 +0000 UTC]
absolutely amazing
I used it in my journal
π: 0 β©: 0
RogueMudblood [2015-04-02 18:53:58 +0000 UTC]
Absolutely wonderful! Thanks so much for this.
π: 0 β©: 1
Dediggefedde In reply to RogueMudblood [2015-04-02 20:19:37 +0000 UTC]
Thanks! ^^
I'm glad you like it!
π: 0 β©: 1
RogueMudblood In reply to Dediggefedde [2015-04-02 20:33:02 +0000 UTC]
Very much! I'm playing with it in setting up my feature journal for tomorrow. (Don't worry, I'm crediting you.
)
π: 0 β©: 0
Daarka [2014-10-02 22:18:24 +0000 UTC]
Could you translate this to work on profile custom boxes?
π: 0 β©: 1
Dediggefedde In reply to Daarka [2014-10-03 00:33:10 +0000 UTC]
Sadly that's not possible as custom boxes don't use user-CSS but only predefined dA-Classes...
The only way would be to put a journal featured into your profile where you use this CSS.
π: 0 β©: 1
Daarka In reply to Dediggefedde [2014-10-03 02:24:36 +0000 UTC]
No worries
I'm just struggling to find the right code Β I'd love to get something where I can mess with hover-over effects. It just needs to be super basic; the image is X, and when you mouse over it, it turns into image Y instead. I mean, finding some sort of transition animation to plop in there would be awesome as well, but don't know if that's something I should be holding my breath for.Β
Like this:
That principle would be great if I could find a basic code to get the job done. And the transitions like on this would be great if they were obtainable:
XD I might have to just buy one of those and plug in images, but there's got to be a basic code floating around somewhere that'd get the job done Oh well, I'll figure it out. Thanks!
π: 0 β©: 1
Dediggefedde In reply to Daarka [2014-10-03 15:47:00 +0000 UTC]
Well, as you can see the icon at the top-left indicates, this isn't a custom box but a deviation-widget.
So, to get something like this, you just need to gotoΒ your stash.writer, make a journal with a nice journal-skin, submit it to your gallery and feature it on your profile, using the "Featured Deviation"-widget^^
You can see an example when you visit nekozumi's profile and visit her gallery.
π: 0 β©: 0
Chattarika [2013-12-10 08:36:47 +0000 UTC]
o.O
I love this~! thanks a heap~! i'll try this out some time
π: 0 β©: 1
Dediggefedde In reply to Chattarika [2013-12-10 08:37:40 +0000 UTC]
Thanks^^
Glad you like it^^
π: 0 β©: 1
Kingemocut [2013-11-06 17:28:37 +0000 UTC]
Hey, the # in CSS is used to tell the CSS it's got to look for the class, so you don't need to use the #'s in the tags. you can also just do <div> too. to make the &, use &
π: 0 β©: 1
Dediggefedde In reply to Kingemocut [2013-11-06 19:06:17 +0000 UTC]
Thanks for the tip... but I was probably just lazy as <#div><#div><#div> is faster to change than <div><div><div>^^
But I guess it's nicer to look at with the right appearance... : for : was a bit hard to find, though^^
However, # is used to identify ids in CSS, . is for classes...
and I didn't use any # within CSS, just inside the HTML, if I see that right^^
So at least there shouldn't be an error...
π: 0 β©: 1
Kingemocut In reply to Dediggefedde [2013-11-07 19:50:57 +0000 UTC]
yeah, but it's easier for people to directly copy. soemtimes, the few extra seconds done is a LOT better for public image. you could look here too.
π: 0 β©: 0
Dediggefedde [2013-11-05 19:45:57 +0000 UTC]
Great... I can't find the edit-button... otherwise I would correct the white space at the top...
π: 0 β©: 1
Dediggefedde In reply to Dediggefedde [2013-11-05 20:43:56 +0000 UTC]
So edit-button is now available again^^
π: 0 β©: 0