lucavi: (Default)
lucavi ([personal profile] lucavi) wrote2024-01-19 05:00 pm
Entry tags:

CODE ✦ DUALITY.

you know, you're
my best friend—

click me!
Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat. Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur. Excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia deserunt mollit anim id est laborum.

A small two-person display card with optional dropdown text. Could be used as a CR summary or header or what have you. There are two versions, one that's just images and optional overlay text, and another version that can be clicked to open up further info.

RESPONSIVE (MOBILE FRIENDLY)
CUSTOMISABLE
COMMENT FRIENDLY
NOT EMAIL-FRIENDLY

Most parts to customise are located at the top of the code for easy changes. Only the values there need to be changed, and all shared values across the rest of the code will automatically change along with it. Here's a quick list of what they affect:

--slant: angle of the split bar. value cannot be below 0 or it will break. note that shifting the slant may cause images to display differently due to them being set to "cover" and changing the slant will change the "width" of the image and therefore make it smaller or larger accordingly. not recommended for the angle to be more than the width of the code or it will look strange. If you want to fine-tune it, you may need to get into the nitty-gritty and adjust background-size or background placement values.
--gheight: height of the code.
--border: border thickness. recommended range is 0-15px.
--radius: roundness of the corners. not recommended to make it too large, may look odd.
--theme: colour of the frame.
--imageOne: url of image on the left.
--imageTwo: url of image on the right.
--imageTextColour: colour of the overlay text in the images.
--imageTextBg: this is for if you'd like to declare a background colour for the overlay text. this will override the blurry effect and unless you choose a translucent colour.
--addtextColour: only applicable if additional text is included; changes text colour.
--addtextBg: only applicable if additional text is included; changes textbox background colour.

NO TEXT DROPDOWN

WITH TEXT DROPDOWN


Post a comment in response:

This account has disabled anonymous posting.
If you don't have an account you can create one now.
HTML doesn't work in the subject.
More info about formatting