Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- body {
- font-family: Arial, sans-serif;
- background-color: #f0f2f5;
- padding: 20px;
- }
- .post-container {
- max-width: 600px;
- margin: auto;
- background: gray;
- border-radius: 8px;
- box-shadow: 0 2px 8px rgba(0,0,0,0.1);
- overflow: hidden;
- }
- .post-header {
- display: flex;
- align-items: center;
- padding: 15px;
- border-bottom: 1px solid #ddd;
- }
- .avatar {
- width: 40px;
- height: 40px;
- border-radius: 50%;
- background: #ccc;
- margin-right: 10px;
- }
- .post-user-info {
- flex-grow: 1;
- }
- .post-user-info strong {
- display: block;
- }
- .post-image img {
- width: 100%;
- display: block;
- }
- .post-content {
- padding: 15px;
- }
- .likes {
- font-weight: bold;
- }
- .caption {
- margin: 5px 0;
- }
- .comment {
- border-top: 1px solid #eee;
- padding: 10px 15px;
- font-size: 14px;
- }
- .comment strong {
- font-weight: bold;
- }
- .comment-input {
- display: flex;
- border-top: 1px solid #ddd;
- padding: 10px 15px;
- }
- .comment-input input {
- flex-grow: 1;
- padding: 8px;
- border: 1px solid #ccc;
- border-radius: 20px;
- }
- .comment-input button {
- margin-left: 10px;
- background-color: #1877f2;
- color: white;
- border: none;
- padding: 8px 12px;
- border-radius: 20px;
- cursor: pointer;
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement