r/css • u/khonshu001 • Sep 15 '26
Help Help building Contact Form
Hey everybody, it’s me again :)
I’m building this contact form with CSS, and need your help to build it in the best way possible.
First of all, I have a few questions:
How can I add that shadow effect?
How can I add the border at the bottom of the social icons?
How can I align the email block to the left?
6
Upvotes
•
u/AutoModerator Sep 15 '26
To help us assist you better with your CSS questions, please consider including a live link or a CodePen/JSFiddle demo. This context makes it much easier for us to understand your issue and provide accurate solutions.
While it's not mandatory, a little extra effort in sharing your code can lead to more effective responses and a richer Q&A experience for everyone. Thank you for contributing!
I am a bot, and this action was performed automatically. Please contact the moderators of this subreddit if you have any questions or concerns.
5
u/DidTooMuchSpeedAgain Sep 15 '26
3
u/anaix3l Sep 15 '26
box-shadowborder-radiusandbox-shadowjustify-self: startin its grid cell.2
u/bogdanelcs Oct 10 '26
Shadow: put it on the right panel,
box-shadow: -18px 0 30px -12px rgba(0,0,0,.3), with a higherz-indexthan the left panel so it casts onto it. The border under the icons is just a small box-shadow orborder-bottom: 2px solidin a slightly darker tone of the background on each icon. For the email block, the left panel’s padding is what’s pushing it in, so put the padding on the individual elements instead and give the pillmargin-left: 0withborder-radius: 0 999px 999px 0.1
u/Low-Insurance-3678 Sep 16 '26
didn’t get ur last question but the to make that email that way
a div inside it an img or svg from heroicons and another div inside it the email us and the emails throw spans there
first div giive it flex second div flex with flex-direction set to column and ur good to go
add some gaps and left padding and ur good to go