Let's translate this step by step into the Tunisian dialect while noting differences from Modern Standard Arabic (MSA) and highlighting sections where I feel confident about the translation.
Original English Text:
Q: How to get a wall of picture from different size with exact same width & height? I am trying to create an image wall consisting of house photos. The problem is: All of them are of different heights and widths. So, how can I use CSS to make all images look the same size? Here is my actual CSS! With this, they all have the same width but not the same height:
Tunisian Dialect:
Tunisian: كيفاش نعمل جدار تصاور من أحجام مختلفة بنفس العرض والارتفاع؟ نحب نعمل جدار تصاور فيه تصاور دُور. المشكلة هي: كلهم عندهم ارتفاع وعرض مختلف. كيفاش نجم نستعمل CSS باش نخلّي كل التصاور يبانوا بنفس الحجم؟ هاو CSS اللي عندي حاليًا! بهالطريقة، الكل عندهم نفس العرض ما عندهمش نفس الارتفاع:
Differences Highlight:
- كيفاش: This is a common Tunisian way of saying "how," different from the MSA "كيف."
- نعمل: While MSA would use "أنشئ," Tunisian uses "نعمل" for "create."
- تصاور: In Tunisian, "تصاور" is used for "pictures" instead of the MSA "صور."
- دُور: Represents "houses" in Tunisian dialect, compared to MSA "منازل."
- نجم: Common Tunisian word for "can," whereas MSA might use "أستطيع."
Tunisian Dialect with Confidence Highlights:
When conveying coding or technical concepts, the dialect is less formal, and code-related terms often remain in English, as seen above.
Continuation of Original Text & Translation:
English Text:
.property-thumb-info, .property-thumb-info-image, .pgl-team-item .img-thumbnail-medium { overflow: hidden; position: relative; } .property-thumb-info-image img, .pgl-team-item .img-thumbnail-medium img { width: -webkit-calc(100% + 50px); width: calc(100% + 50px); -webkit-transition: opacity 0.35s, -webkit-transform 0.35s; transition: opacity 0.35s, transform 0.35s; -webkit-transform: translate3d(-10px, 0, 0) scale(1.1); transform: translate3d(-10px, 0, 0) scale(1.1); } .pgl-property:hover .property-thumb-info-image img, .pgl-team-item:hover .img-thumbnail-medium img { opacity: 0.7; filter: alpha(opacity=70); -webkit-transform: translate3d(0, 0, 0) scale(1.1); transform: translate3d(0, 0, 0) scale(1.1); }
Tunisian Dialect:
.property-thumb-info, .property-thumb-info-image, .pgl-team-item .img-thumbnail-medium { overflow: hidden; position: relative; } .property-thumb-info-image img, .pgl-team-item .img-thumbnail-medium img { width: -webkit-calc(100% + 50px); width: calc(100% + 50px); -webkit-transition: opacity 0.35s, -webkit-transform 0.35s; transition: opacity 0.35s, transform 0.35s; -webkit-transform: translate3d(-10px, 0, 0) scale(1.1); transform: translate3d(-10px, 0, 0) scale(1.1); } .pgl-property:hover .property-thumb-info-image img, .pgl-team-item:hover .img-thumbnail-medium img { opacity: 0.7; filter: alpha(opacity=70); -webkit-transform: translate3d(0, 0, 0) scale(1.1); transform: translate3d(0, 0, 0) scale(1.1); }
Confident Section:
Technical codes and styles are maintained as they are universally recognized in English.
Final Parts:
English Text:
A: object-fit: cover should do the trick. Make all img element the same size and then: .property-thumb-info-image img, .pgl-team-item .img-thumbnail-medium img { /* your code / object-fit: cover; / your code */ } https://css-tricks.com/almanac/properties/o/object-fit/
Tunisian Dialect:
Tunisian: الحل هو استعمال object-fit: cover. وكيكة كل عناصر img تولي نفس الحجم وبعد: .property-thumb-info-image img, .pgl-team-item .img-thumbnail-medium img { /* الكود متاعك / object-fit: cover; / الكود متاعك */ } https://css-tricks.com/almanac/properties/o/object-fit/
Differences Highlight:
- الحل هو استعمال: This translates to "the solution is to use," more informal compared to MSA "الحل هو استخدام."
- وكيكة: Means "thus" or "like that," a filler in Tunisian Arabic not typically used in MSA.
Confident Section:
This simple explanation maintains the technical meaning and is common phrasing in Tunisian dialect discussions, especially in the tech context.
I hope this captures the nuances of Tunisian dialect appropriately!