Idea Board

"Hover Pan & Zoom Effect" for Image Galleries, Carousels and Photo Grids
Similar to Ken Burns for Block Background We need now the "Hover Pan & Zoom Effect" for Image Galleries, Carousels and Photo Grids, where hovering over an image causes it to zoom in or out, and sometimes also pan slightly to create a dynamic interaction. I asked ChatGPT and here is the result: Here's an example of how to achieve a hover zoom effect using HTML and CSS: <!DOCTYPE html> <html lang="en"> <head> <meta charset="UTF-8"> <meta name="viewport" content="width=device-width, initial-scale=1.0"> <title>Hover Zoom Effect</title> <style> .image-gallery { display: flex; gap: 10px; } .image-gallery img { width: 200px; height: 200px; object-fit: cover; transition: transform 0.5s ease; } .image-gallery img:hover { transform: scale(1.2); } </style> </head> <body> <div class="image-gallery"> <img src=" https://via.placeholder.com/200 " alt="Image 1"> <img src=" https://via.placeholder.com/200 " alt="Image 2"> <img src=" https://via.placeholder.com/200 " alt="Image 3"> </div> </body> </html> In this example: The .image-gallery class creates a simple flexbox container for the images. The images inside the gallery have a width and height set to 200px, and the object-fit: cover property ensures the images cover the entire area without distortion. The transition property on the images ensures a smooth transformation effect. The :hover pseudo-class on the images applies a transform: scale(1.2) property to scale the image up by 20% when hovered over, creating the zoom effect. You can adjust the transform property to also include translate values if you want to add a panning effect along with the zoom. Here's an example that adds both zoom and a slight pan effect: .image-gallery img:hover { transform: scale(1.2) translate(10px, 10px); } This will make the image zoom in and slightly pan to the bottom-right when hovered over. Adjust the translate values as needed for your specific layout and design. Kind Regards, Mohammad
1
·

under review

RTL switcher or RTL icon in text editor to manually enable/disable the text dir
Title: RTL switcher or RTL icon in text editor to manually enable/disable the text direction between LTR and RTL for text element Details: We need to have RTL switcher icon in the text tool bar to switch or enable/disable the text direction between LTR and RTL in the for the text elementsince when aligning text to the irght alighnment the LTR is the default direction, but when writing in Arabic or any other RTL language there is no way to force the text aligned to left to the RTL direction except using CSS, so implementing the idea of having RTL button enabled/disable it from the text element toolbar is a brillian idea and this is similar to the icon box when putting the icon on right or on the left of the text but this also should be available for the text element tool bar and just name its icon RTL so we we click on it the text will be rtl direction and when we clikc on the RTL icon again the text get back to the default ltr direction, also this will be so coo to have it on the global styling with one click all text and all headings will be rtl direction and the menu items will be automatically in reverse order since this will solve the problem we currently have the Brizy Builder for Arabic RTL Webistes. The global styling for this will convert the website to Arabic RTL website with when click. The text toolbar RTL icon will enable us to manually rtl or ltr direction for single text element one by one so in this way we can make a composite or merge between the LTR and RTL in the website when we need this some times and it is so helpful to write articles in English LTR and Arabic RTL in the same page easily without us having to waste time on writing css code and inspect every element for its id or class to just apply the class or id for the direction: rtl, propert and value. for exampe: For RTL Text (Arabic and all langues the read and writes from Right To Left Direcion) #id{ direction: rtl; } or .class{ direction: rtl; margin } For LTR Text (English and langues the read and writes from Left To Right Direcion) #id{ direction: ltr; } or .class{ direction: ltr; } ChatGPT Help: When converting a Left-to-Right (LTR) webpage to a Right-to-Left (RTL) webpage, the standard practice involves adjusting the direction and alignment properties, as well as flipping the margins and paddings. Here are the typical changes applied to achieve this: Direction: Set the "direction" property to rtl. body { direction: rtl; } Text Alignment: Adjust "text-align" from "left" to "right". .some-class { text-align: right; } Margins and Paddings: Flip "margin-left" to "margin-right" and "padding-left" to "padding-right", and vice versa. .some-class { margin-left: 20px; / LTR / margin-right: 20px; / RTL / padding-left: 10px; / LTR / padding-right: 10px; / RTL / } Use logical properties to make it easier to handle both LTR and RTL without manually flipping values: .some-class { margin-inline-start: 20px; / Replaces margin-left in LTR and margin-right in RTL / margin-inline-end: 20px; / Replaces margin-right in LTR and margin-left in RTL / padding-inline-start: 10px; / Replaces padding-left in LTR and padding-right in RTL / padding-inline-end: 10px; / Replaces padding-right in LTR and padding-left in RTL / } Float and Positioning: Adjust "float" from "left" to "right" and vice versa. .some-class { float: right; / Instead of float: left for LTR / } Use logical properties for positioning: .some-class { inset-inline-start: 20px; / Replaces left in LTR and right in RTL / inset-inline-end: 20px; / Replaces right in LTR and left in RTL / } Flexbox and Grid: Adjust the "justify-content" and "align-items" properties if necessary. .some-class { display: flex; justify-content: flex-end; / Instead of flex-start for LTR / } Use logical properties for Flexbox: .some-class { display: flex; justify-content: start; / Logical start which adapts to LTR and RTL / } By using these practices, you can effectively convert your LTR webpages to RTL while maintaining a consistent layout and design. I hope that you can also use the DOM in Java/script to automatically convert the Default English or any other LTR website language to Arabic or any RTL website language when selecting the Arabic or other RTL language like Hebrew, Mandarine, Urdu, Persian, Pakistani, and etc .. Thank you Brizy team in advance, Mohammad
1
·

under review