I am trying to make a responsive circle in CSS.
It has to be activated as a link.
When you hover over the circle, the background color needs to change.
In some circles there need to be two text lines.
I found this example script. But unfortunately it is not a link yet:
http://codeitdown.com/css-circles/
As well the following example:
http://codepen.io/anon/pen/cqoFv. Which is not a link yet as well.
So, only the circle needs to be a link.
Your help is appreciated. Thank you very much.
Some like this?
http://codepen.io/anon/pen/zAaGe
Just easy css.
:hover,visited.
Related
I'm trying to recreate the features section:<section id="features"> # https://dreem.com/en/
Basically, I'd like to change the background images and text and iconography.
I've been playing around with it here: https://codepen.io/JordiUp/pen/XZJdQO
But I haven't figured out how to the get the hove transitions working.
Am I able to achive this effect within just a section using HTML and CSS, or am i missing something and need Javascript.
First time posting, Huge thanks in advance.
Hope it will work for you, Please refer this link
https://www.tutorialrepublic.com/codelab.php?topic=faq&file=css-image-swap-on-hover
For example, if you look at the image here:
Is it possible to create the love' hate part? where the hide text is a little-but underneath the Love text? And also, how can I cross out the hate text?
yes, it is possible, but I don't recommend doing it that way
for the stroke: simply create an element and rotate it a bit
for the "underneath" look: use position: relative (absolute), margins, paddings etc.
here is live example: http://jsfiddle.net/78qpE/1/
If you want the image to look like the one you attached, it would be done in a program like Illustrator, but it is unclear if this is what you want. Can you elaborate at all, or provide code for what you are trying to do? It is possible to have both "Love" and "Hate" in separate DIVs, positioned by CSS. If it is only text, there are CSS controls for strikethrough as well.
Please take a look at this nav menu
Currently it looks like below
What I'm trying to achieve, is result shown below (I made this on Photoshop)
Is that possible to get this result with CSS3? If yes please help me. Can't figure out, how to get this result
Here we go
http://jsfiddle.net/DBzSD/11/
I have used CSS pseudo elements to display them you can replace with normal elements if you want but that wont be a very wise choice.
Secondly i have used the data-attribute to show the value of the number , you can dynamically change the number with very minimal amount of javascript and that will automatically change the numbers shown in the box :-)
Hope that helps ..
Sorry i failed to find out your hover effects :-(
I can't find where you specify the border on the hover event, but I would make the green line part of the div, and then use the triangle as an image inside the div.
Have a look at this fiddle http://jsfiddle.net/Neograph734/DBzSD/8/
in my header I've got a large image. Above that image I want to place my navigation.
The clue about it: The ul-Navigation-element got a gradient background. But if I hover an li-Navigation-Link I would like to display the underlying image! (Hope that's clear? Otherwise I'll do some photoshop to demonstrate) This should be flexible, meaning not to give each li-Element a specific snippet form the backgroundimage.
I would prefer a JS-solution instead of a messy markup. But I appreciate every possible idea you have on your mind. Maybe I'm just overlooking the most obvious and easy solution..
Best regards (:
Here is an image of what I tried to descripe. Hope it helps:
http://s7.directupload.net/images/110226/pv4v4c5r.jpg
There's no need for JS to do this, simply make it so that when you hover over the li-Navigation-Link, the element doesn't have a background attribute set.
This will create the 'transparency' that you want to achieve.
you can use background:transparent for a:hover. This will show the background.
(for internet explorer you could use filter:alpha(opacity=100) );
Here an example: http://jsfiddle.net/3C9sZ/2/
I just solved my problem with javascript/jquery. It can be found here http://jsfiddle.net/QwJKY/.
I've downloaded the following template:
http://www.styleshout.com/templates/preview/Refresh11/index.html
But unfortunately, it has rounded corners and shades. I want it to have square corners and the shades should be removed, too. It should look like this:
But I'm not good enough at (X)HTML and CSS so I didn't manage to achieve this.
Could you please help me? How could I remove the rounded corners?
Please don't say "Take another template" ;) It's also for learning purposes :)
The rounded corners and shadow here are accomplished by images, not code:
http://www.styleshout.com/templates/preview/Refresh11/images/header.jpg
http://www.styleshout.com/templates/preview/Refresh11/images/menu.jpg
http://www.styleshout.com/templates/preview/Refresh11/images/content.jpg
http://www.styleshout.com/templates/preview/Refresh11/images/footer.jpg
If you have control over the file system, you can simply edit these images to have square corners and no shadow.
If its an image and you have access to it, as said above, you would simply put the image in photoshop,illustrator, or flash and alter to your liking. Taking out the shadows or making it look anyway you like. Assuming you are familiar with these programs.