css card ui design gradient

How we can create a Gradient UI Card using HTML & CSS? Solution: CSS Card UI Design With Gradient. In other words, Pure CSS Gradient Card With Good UI.

I am sure that, you have seen many time of cards on multiple websites. Previously I had shared a card with images, If you don’t know about this then check it out first. Cards can be used in many places on the website like the blog post, profile card, etc.

Today you will learn to create a simple gradient card with many features like hover effect, low opacity background watermark. It has very fewer codes, & it is easy to understand also. If you are a beginner then you can also create this easily after seeing this post.

So, Today I am sharing CSS Card UI Design With Gradient, a pure CSS UI card. This UI card is designed for blog post preview, you can customize as you want. I placed title & a background text with low opacity. It also has a hover effect and published date, This is full static because of its a UI design. You can create it dynamic with the same design using the codes giving in this post.

If you are thinking now how this gradient card actually is, then see the preview given below.

Preview Of Gradient Cards

See this video preview to getting an idea of how these UI Cards looks like.

Now you can see this visually. If you like this, then get the source code of its.

You May Also Like:

CSS Card UI Design With Gradient Source Code

Before sharing source code, let’s talk about this. I created the main div to put all the cards. Inside the card, I placed 6 things. First I created a div with class name g-card which is represented to gradient card. Inside the card, I put a background text you can see on preview which looks nice as a branding. Then I created a line you can see upperside of heading. After that, I place the heading, publisher name, text, read more link, & published date.

TO creating the background text as a watermark I just put low opacity in CSS. For the separater line above the heading, I put just width & height with a white background color. I used to different google fonts for heading and texts, All the cards & background has good gradient combinations you can change according to your choice.

The read more link has a hover effect, When you hover on the more button, then the line & text scale and animate left to right. I used the CSS @media query to create it responsive, I just put all the cards one by one to bottom in responsive design. I used cubic-bezier() Function to animate the line before read more button or link. The cubic-bezier() function defines a Cubic Bezier curve (more info).

I am sure that, You will fully understand the whole concept after getting the codes. If you got any trouble to understand or create then you can ask me for a solution. For creating these Gradient UI Cards you have to create on 2 files. One for HTML, & one for CSS. Follow the steps to creating this without any error.

index.html

Create an HTML file named ‘index.html‘ and put these codes given below.

style.css

Now create a CSS file named ‘style.css‘ and put these codes.

That’s It. Now you have successfully created CSS Cards UI Design With Gradient Background. In other words, Pure CSS cards with background gradient with good UI Design. If you have any doubt or question comment down below.

Thanks For Visiting, Keep Visiting.

LEAVE A REPLY

Please enter your comment!
Please enter your name here