用于数据列表中图像的CSS [英] css for image in datalist

查看:64
本文介绍了用于数据列表中图像的CSS的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

iam开发asp.net网站asp.net 4
我需要从数据列表中的数据库中获取目录图像
这不是问题
u dir看起来不好的问题
所以我需要CSS的任何帮助以使其外观看起来不错

像在图像上添加圆角边框,将鼠标悬停在图像上就可以像水印一样
像这样的东西

iam developing asp.net web site asp.net 4
i need to dir image from database in datalist
this is not the problem
the problem when u dir it it look poor not good
so i need any help with css for make it''s appearance look good

like add rounded border on the image make image like water mark when hover on it
somethings like this

推荐答案

让它变得美丽."

这不是问题,很难想像对此有任何帮助.没有人知道你想要什么外观. 看起来不错"不是一个可以在任何常规的教育过程中进行解释甚至教授的正式概念.如果您不知道如何设计外观"并实现它,请尝试雇用一名Web设计师.但是,您要如何将一个好的设计师与一个糟糕的设计师区分开?



而且,在我看来,在纯粹美学领域,您的偏爱会把您引向错误的方向. 圆角边框",水印" ...对于每个这样的元素,即使是一条细线甚至一个像素,您都应该问自己:这是否有助于暗示含义或有助于理解数据的结构?它会提高可读性吗?没有目标就没有单个像素.您应该了解网站的主要功能是它的上下文.

-SA
"Make it beautiful for me."

This is not a question, and it''s hard to imagine any help on the topic. Nobody have an idea what look do you want. "Looking good" is not a formal concept which can be explain or even taught in any routine educational process. If you don''t have a good idea on how to design a "good look" and implement it, try to hire a Web designer. However, how are you going to tell a good designer from a bad one?



Also, in the field of pure aesthetics your preference move you in wrong direction, in my opinion. "Rounded border", "water mark"… For each of such element, even for a single tiny line or even a pixel you should ask yourself: does it help to suggest the meaning or helps to understand the structure of data? Does it improve readability? No single pixel without a purpose. You should understand that main feature of a Web site is its context.

—SA


此处 [ ^ ]是一个示例带有样式的数据列表.
您可以自定义css以适合您的需求.
Here[^] is an example of a datalist with styles.
You can customize the css to suit your needs.


这篇关于用于数据列表中图像的CSS的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆