![]() The data collected including the number visitors, the source where they have come from, and the pages viisted in an anonymous form. The cookie is used to store information of how visitors use a website and helps in creating an analytics report of how the wbsite is doing. This cookie is installed by Google Analytics. The cookies store information anonymously and assign a randomly generated number to identify unique visitors. The cookie is used to calculate visitor, session, campaign data and keep track of site usage for the site's analytics report. These cookies help provide information on metrics the number of visitors, bounce rate, traffic source, etc. It does not store any personal data.Īnalytical cookies are used to understand how visitors interact with the website. The cookie is set by the GDPR Cookie Consent plugin and is used to store whether or not user has consented to the use of cookies. The cookie is a session cookies and is deleted when all the browser windows are closed. The cookie is used to store and identify a users' unique session ID for the purpose of managing user session on the website. This cookie is native to PHP applications. The cookies is used to store the user consent for the cookies in the category "Non-necessary". This cookie is set by GDPR Cookie Consent plugin. The cookies is used to store the user consent for the cookies in the category "Necessary". This cookie is used for load balancing and for identifying trusted web traffic. This cookie is set by the provider Cloudflare. ![]() It does not correspond to any user ID in the web application and does not store any personally identifiable information. The cookie is used by cdn services like CloudFare to identify individual clients behind a shared IP address and apply security settings on a per-client basis. These cookies ensure basic functionalities and security features of the website, anonymously. Necessary cookies are absolutely essential for the website to function properly. Then the opacity of both after and before selectors are changed on mouse hover and that's it. The opacity is set to 0 and transition property is set to 1s for the smooth transition. Content is set with the data-description variable. Its height is set to 60% to cover the rest of the Image. The top position is set to 40% (where before selector ends because if you remember it's height was set to 40% ). It's position is also set to absolute, width 100% and left position to 0. The content is given the variable (data-title) we created earlier in our anchor tag. Opacity is set to 0 and transition of 1 second is applied for the opacity, which means the opacity will change from 0 to 100% in 1 sec and vice versa. Width to 100%, position from top to 0 and height to 40% (40% of the total height of your image). Set the position property to absolute (it will change with respect to our anchor tag). Then I have set its position to relative. The important thing here is to note that position property doesn't work well with inline elements and that is why, I changed the display type of anchor tag to inline-block level element. I have set the padding and margin to 0, font-family to "Lato" and background-color to dark grey. Now Create another file for styling with. We will use them as content for our before and after selectors. I have assigned the heading to data-title and content to data-description. Now write the two parts of your text in data-title and data-description. ![]() Create a class for anchor tag (text-image in my case) or you can use element selector or its name (a tag) for its CSS. Give the source of the image you want to use to src attribute in the image tag. Then we will use image tag inside the anchor tags. Then we will write basic HTML skeleton with Doctype, head section and body section. First of all we will create a new file with.
0 Comments
Leave a Reply. |